Home / Type/ AsyncComponentPromise Type — vue Architecture

AsyncComponentPromise Type — vue Architecture

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

Entity Profile

Dependency Diagram

graph TD
  02ab3b5f_22b6_c4c1_5275_7cdcc62a5044["AsyncComponentPromise"]
  f493510d_f7fc_4153_b4bd_6a9c8da0e741["options.d.ts"]
  02ab3b5f_22b6_c4c1_5275_7cdcc62a5044 -->|defined in| f493510d_f7fc_4153_b4bd_6a9c8da0e741
  style 02ab3b5f_22b6_c4c1_5275_7cdcc62a5044 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/options.d.ts lines 47–60

export type AsyncComponentPromise<
  Data = DefaultData<never>,
  Methods = DefaultMethods<never>,
  Computed = DefaultComputed,
  Props = DefaultProps,
  SetupBindings = {}
> = (
  resolve: (
    component: Component<Data, Methods, Computed, Props, SetupBindings>
  ) => void,
  reject: (reason?: any) => void
) => Promise<
  ImportedComponent<Data, Methods, Computed, Props, SetupBindings>
> | void

Defined In

Frequently Asked Questions

What is the AsyncComponentPromise type?
AsyncComponentPromise is a type/interface in the vue codebase, defined in types/options.d.ts.
Where is AsyncComponentPromise defined?
AsyncComponentPromise is defined in types/options.d.ts at line 47.

Analyze Your Own Codebase

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

Try Supermodel Free