Download packages/ui/src/custom-elements.d.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/ui/src/custom-elements.d.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/ui/src/custom-elements.d.ts
-
curl -L -o custom-elements.d.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/ui/src/custom-elements.d.ts
432 Bytes
| 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 {} | |