summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/custom-elements.d.ts
diff options
context:
space:
mode:
authorAmadeus Demarzi <[email protected]>2025-12-17 05:33:46 -0800
committerGitHub <[email protected]>2025-12-17 07:33:46 -0600
commit5c490c51edd5a8e3953fcc439d46c0e138294073 (patch)
tree29f538fa1ad1666507960e30830b0f07db9de44a /packages/ui/src/custom-elements.d.ts
parent5da1c0087b7a0216bf633d12ff038422727ff235 (diff)
downloadopencode-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.ts5
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>
}
}
}