File size: 455 Bytes
0ad74ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// See https://vitejs.dev/guide/features.html#client-types

declare module "*.whl" {
	const content: string;
	export default content;
}

// virtual module component type definition
declare module "virtual:component-loader" {
	interface Args {
		api_url: string;
		name: string;
		id?: string;
		variant: "component" | "example" | "base";
	}
	export function load_component(args: Args): {
		name: ComponentMeta["type"];
		component: LoadedComponent;
	};
}