Vendor opencode source for docker build
This commit is contained in:
17
opencode/packages/ui/src/custom-elements.d.ts
vendored
Normal file
17
opencode/packages/ui/src/custom-elements.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
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_TAG_NAME]: HTMLAttributes<HTMLElement>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export {}
|
||||
Reference in New Issue
Block a user