UNPKG

@bitblit/ratchet-common

Version:

Common tools for general use

8 lines (7 loc) 471 B
export declare class EsmRatchet { private static readonly DYNAMIC_IMPORT_CACHE; static fetchDirName(root: string): string; static fetchFileName(root: string): string; static cachedTypedDynamicImport<T>(libPath: string, importName?: string, requiredKeys?: string[], swallowErrorIfMissing?: boolean): Promise<T>; static typedDynamicImport<T>(libPath: string, importName?: string, requiredKeys?: string[], swallowErrorIfMissing?: boolean): Promise<T>; }