cloudaxe-opencode/packages/ui/src/custom-elements.d.ts

18 lines
432 B
TypeScript
Raw Normal View History

import { DIFFS_TAG_NAME } from "@pierre/diffs"
2025-11-25 13:40:11 +00:00
/**
2025-12-15 16:56:03 +00:00
* TypeScript declaration for the <diffs-container> custom element.
* This tells TypeScript that <diffs-container> is a valid JSX element in SolidJS.
* Required for using the @pierre/diffs web component in .tsx files.
2025-11-25 13:40:11 +00:00
*/
2025-11-25 13:49:03 +00:00
declare module "solid-js" {
2025-11-25 13:40:11 +00:00
namespace JSX {
interface IntrinsicElements {
[DIFFS_TAG_NAME]: HTMLAttributes<HTMLElement>
2025-11-25 13:40:11 +00:00
}
}
}
2025-11-25 13:49:03 +00:00
export {}