custom-elements.d.ts 368 B

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