my_gradio / js /core /src /vite-env-override.d.ts
xray918's picture
Upload folder using huggingface_hub
0ad74ed verified
raw
history blame contribute delete
455 Bytes
// 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;
};
}