Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
20
Frontend-Learner/node_modules/vite-hot-client/dist/index.d.ts
generated
vendored
Normal file
20
Frontend-Learner/node_modules/vite-hot-client/dist/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/// <reference types="vite/client" />
|
||||
type ViteHotContext = Exclude<ImportMeta['hot'], undefined>;
|
||||
interface ViteClient {
|
||||
createHotContext: (path: string) => ViteHotContext;
|
||||
}
|
||||
/**
|
||||
* Get the module of `/@vite/client`
|
||||
*/
|
||||
declare function getViteClient(base?: string, warning?: boolean): Promise<ViteClient | undefined>;
|
||||
declare function createHotContext(path?: string, base?: string): Promise<ViteHotContext | undefined>;
|
||||
/**
|
||||
* Guess the vite client provided bases from the current pathname.
|
||||
*/
|
||||
declare function guessBasesFromPathname(pathname?: string): string[];
|
||||
/**
|
||||
* Try to resolve the vite client provided bases.
|
||||
*/
|
||||
declare function tryCreateHotContext(path?: string, bases?: string[]): Promise<ViteHotContext | undefined>;
|
||||
|
||||
export { type ViteClient, type ViteHotContext, createHotContext, getViteClient, guessBasesFromPathname, tryCreateHotContext };
|
||||
Loading…
Add table
Add a link
Reference in a new issue