mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 13:39:52 +00:00
Diffs Performance Improvements (#5653)
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
This commit is contained in:
parent
5da1c0087b
commit
5c490c51ed
10 changed files with 305 additions and 260 deletions
5
packages/ui/src/custom-elements.d.ts
vendored
5
packages/ui/src/custom-elements.d.ts
vendored
|
|
@ -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>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue