vue-lynx / defineAsyncComponent

Function: defineAsyncComponent()

function defineAsyncComponent<T>(source): T

Type Parameters

Type ParameterDefault type
T extends Component<any, any, any, ComputedOptions, MethodOptions, object, any>() => ComponentPublicInstance<object, object, object, object, object, object, object, object, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, object, object, string, object, object, object, string, ComponentProvideOptions>, object, object, "", object, any>

Parameters

ParameterType
sourceAsyncComponentLoader<T> | AsyncComponentOptions<T>

Returns

T

Defined in

node_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts:1533