custom-elements.d.ts 384 B

1234567891011121314
  1. /**
  2. * TypeScript declaration for the <diffs-container> custom element.
  3. * This tells TypeScript that <diffs-container> is a valid JSX element in SolidJS.
  4. * Required for using the @pierre/diffs web component in .tsx files.
  5. */
  6. declare module "solid-js" {
  7. namespace JSX {
  8. interface IntrinsicElements {
  9. "diffs-container": HTMLAttributes<HTMLElement>
  10. }
  11. }
  12. }
  13. export {}