I guess we displaying posts now
This commit is contained in:
parent
3f03c12152
commit
19eb695b08
14 changed files with 387 additions and 171 deletions
32
node_modules/.svelte2tsx-language-server-files/svelte-native-jsx.d.ts
generated
vendored
Normal file
32
node_modules/.svelte2tsx-language-server-files/svelte-native-jsx.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
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 | undefined | null, attrs: Elements[Key]
|
||||
): any;
|
||||
function createElement<Elements extends IntrinsicElements, Key extends keyof Elements, T>(
|
||||
element: Key | undefined | null, attrEnhancers: T, attrs: Elements[Key] & T
|
||||
): 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
|
||||
interface IntrinsicAttributes {
|
||||
}
|
||||
|
||||
interface IntrinsicElements {
|
||||
[name: string]: { [name: string]: any };
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue