summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/custom-elements.d.ts
blob: b756e51dad689805f3ce2169e3876266344f4b1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * 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.
 */
declare module "solid-js" {
  namespace JSX {
    interface IntrinsicElements {
      "diffs-container": HTMLAttributes<HTMLElement>
    }
  }
}

export {}