Home / Type/ AsyncComponentFactory Type — vue Architecture

AsyncComponentFactory Type — vue Architecture

Architecture documentation for the AsyncComponentFactory type/interface in options.d.ts from the vue codebase.

Entity Profile

Source Code

types/options.d.ts lines 62–76

export type AsyncComponentFactory<
  Data = DefaultData<never>,
  Methods = DefaultMethods<never>,
  Computed = DefaultComputed,
  Props = DefaultProps,
  SetupBindings = {}
> = () => {
  component: Promise<
    ImportedComponent<Data, Methods, Computed, Props, SetupBindings>
  >
  loading?: ImportedComponent
  error?: ImportedComponent
  delay?: number
  timeout?: number
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free