Type aliases
ExtractArrayItem
ExtractArrayItem<S, U>: S extends infer P[] ? P : U
Type parameters
ExtractModule
ExtractModule<T>: T extends { loader: infer P; modules: any } ? P : () => Promise<any>
Type parameters
ExtractPromise
ExtractPromise<T>: T extends Promise<infer P> ? P : any
Type parameters
LoadedLoader
Loaded
Loader: { callback: ReturnType<PromiseFn<any>>; loader: () => Promise<any> }
Type declaration
-
callback: ReturnType<PromiseFn<any>>
-
loader: () => Promise<any>
LoaderModuleParms
Type parameters
Type declaration
-
-
modules: string[] | string
LoaderModules
LoaderModules<S>: {}
Type parameters
ModuleArrayItem
Type parameters
ModuleParam
Module
Param: { loader: PromiseFn<any>; modules: string | string[] }
Type declaration
-
-
modules: string | string[]
PromiseFn
PromiseFn<T>: () => Promise<T>
Type parameters