Home / File/ v3-define-async-component.d.ts — vue Source File

v3-define-async-component.d.ts — vue Source File

Architecture documentation for v3-define-async-component.d.ts, a typescript file in the vue codebase. 1 imports, 0 dependents.

File typescript VueCore Instance 1 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  c7b18cf6_4fc0_b5d6_eee5_3f41119cb46f["v3-define-async-component.d.ts"]
  ca28faa9_216b_2023_c479_b397edce4bfb["./options"]
  c7b18cf6_4fc0_b5d6_eee5_3f41119cb46f --> ca28faa9_216b_2023_c479_b397edce4bfb
  style c7b18cf6_4fc0_b5d6_eee5_3f41119cb46f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { AsyncComponent, Component } from './options'

export type AsyncComponentResolveResult<T = Component> = T | { default: T } // es modules

export type AsyncComponentLoader<T = any> = () => Promise<
  AsyncComponentResolveResult<T>
>

export interface AsyncComponentOptions {
  loader: AsyncComponentLoader
  loadingComponent?: Component
  errorComponent?: Component
  delay?: number
  timeout?: number
  // suspensible?: boolean
  onError?: (
    error: Error,
    retry: () => void,
    fail: () => void,
    attempts: number
  ) => any
}

export function defineAsyncComponent(
  source: AsyncComponentLoader | AsyncComponentOptions
): AsyncComponent

Domain

Subdomains

Functions

Dependencies

  • ./options

Frequently Asked Questions

What does v3-define-async-component.d.ts do?
v3-define-async-component.d.ts is a source file in the vue codebase, written in typescript. It belongs to the VueCore domain, Instance subdomain.
What functions are defined in v3-define-async-component.d.ts?
v3-define-async-component.d.ts defines 2 function(s): Promise, error.
What does v3-define-async-component.d.ts depend on?
v3-define-async-component.d.ts imports 1 module(s): ./options.
Where is v3-define-async-component.d.ts in the architecture?
v3-define-async-component.d.ts is located at types/v3-define-async-component.d.ts (domain: VueCore, subdomain: Instance, directory: types).

Analyze Your Own Codebase

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

Try Supermodel Free