Add .gitignore to exclude all node packages and lock files
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
import type { LogLevel } from './log.js';
|
||||
export declare const removeAndGetHashFragment: (src: string) => number | null;
|
||||
export declare const getSrcWithoutHash: (src: string) => string;
|
||||
export declare const usePreload: (src: string) => string;
|
||||
type FetchAndPreload = {
|
||||
free: () => void;
|
||||
waitUntilDone: () => Promise<string>;
|
||||
};
|
||||
export type PrefetchOnProgress = (options: {
|
||||
totalBytes: number | null;
|
||||
loadedBytes: number;
|
||||
}) => void;
|
||||
export declare const prefetch: (src: string, options?: {
|
||||
method?: "blob-url" | "base64";
|
||||
contentType?: string;
|
||||
onProgress?: PrefetchOnProgress;
|
||||
credentials?: RequestCredentials;
|
||||
logLevel?: LogLevel;
|
||||
}) => FetchAndPreload;
|
||||
export {};
|
||||
Reference in New Issue
Block a user