mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 13:39:52 +00:00
feat(share): SSR'd diffs
This commit is contained in:
parent
57bd47a446
commit
15facd8cfd
13 changed files with 200 additions and 131 deletions
14
packages/ui/src/custom-elements.d.ts
vendored
Normal file
14
packages/ui/src/custom-elements.d.ts
vendored
Normal file
|
|
@ -0,0 +1,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 {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue