summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/custom-elements.d.ts
blob: 6ad3ea34e8a4dd15ea710845b7fb7eb67d70afb8 (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 {}