lazyImportModule
Esta página aún no está disponible en tu idioma.
lazyImportModule<
T>(name,options?):Promise<T>
Defined in: src/util/LazyImport.ts:60
Dynamic-import wrapper that produces a uniform “missing peer-dep” error message.
Type-parameter T lets the caller assert the shape of the imported
module — TypeScript can’t infer the shape from a string-literal
module name.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”string
options?
Section titled “options?”LazyImportOptions = {}
Returns
Section titled “Returns”Promise<T>
