summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/custom-elements.d.ts
blob: 9d4c30dd394ca0f2d84f0e5c332cb636f68b668b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * TypeScript declaration for the <file-diff> custom element.
 * This tells TypeScript that <file-diff> is a valid JSX element in SolidJS.
 * Required for using the precision-diffs web component in .tsx files.
 */
declare module 'solid-js' {
  namespace JSX {
    interface IntrinsicElements {
      'file-diff': HTMLAttributes<HTMLElement>;
    }
  }
}

export {};