Urara-Blog/node_modules/.pnpm-store/v3/files/83/7f34b0eb8a8d867b1fe0a5fe768738d6a29d07c3062ca95748fa0cbab66c5cc00af5cdf59552b925108434f3cc5a2f374f79390cae3e34306868c5b90fff6c
2022-08-14 01:14:53 +08:00

31 lines
No EOL
876 B
Text

/* eslint @typescript-eslint/no-unused-vars: off */
declare namespace svelteNative.JSX {
// Every namespace eligible for use needs to implement the following two functions
function mapElementTag(
tag: string
): any;
function createElement<Elements extends IntrinsicElements, Key extends keyof Elements>(
element: Key, attrs: Elements[Key]
): any;
/* svelte specific */
interface ElementClass {
$$prop_def: any;
}
interface ElementAttributesProperty {
$$prop_def: any; // specify the property name to use
}
// Add empty IntrinsicAttributes to prevent fallback to the one in the JSX namespace
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface IntrinsicAttributes {
}
interface IntrinsicElements {
[name: string]: { [name: string]: any };
}
}