mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
17 lines
432 B
TypeScript
17 lines
432 B
TypeScript
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 {}
|