2025-12-17 13:33:46 +00:00
|
|
|
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-12-17 13:33:46 +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 {
|
2025-12-17 13:33:46 +00:00
|
|
|
[DIFFS_TAG_NAME]: HTMLAttributes<HTMLElement>
|
2025-11-25 13:40:11 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-25 13:49:03 +00:00
|
|
|
export {}
|