diff options
| author | Amadeus Demarzi <[email protected]> | 2025-12-17 05:33:46 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-17 07:33:46 -0600 |
| commit | 5c490c51edd5a8e3953fcc439d46c0e138294073 (patch) | |
| tree | 29f538fa1ad1666507960e30830b0f07db9de44a /packages/ui/src/custom-elements.d.ts | |
| parent | 5da1c0087b7a0216bf633d12ff038422727ff235 (diff) | |
| download | opencode-5c490c51edd5a8e3953fcc439d46c0e138294073.tar.gz opencode-5c490c51edd5a8e3953fcc439d46c0e138294073.zip | |
Diffs Performance Improvements (#5653)
Co-authored-by: Adam <[email protected]>
Diffstat (limited to 'packages/ui/src/custom-elements.d.ts')
| -rw-r--r-- | packages/ui/src/custom-elements.d.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/ui/src/custom-elements.d.ts b/packages/ui/src/custom-elements.d.ts index b756e51da..49ec4449f 100644 --- a/packages/ui/src/custom-elements.d.ts +++ b/packages/ui/src/custom-elements.d.ts @@ -1,12 +1,15 @@ +import { DIFFS_TAG_NAME } from "@pierre/diffs" + /** * 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> + [DIFFS_TAG_NAME]: HTMLAttributes<HTMLElement> } } } |
