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.
Entity Profile
Dependency Diagram
graph LR e35bc944_aefb_f8da_7d60_d1ef928275f2["v3-define-async-component.d.ts"] 28e0e4fb_82e2_63fb_e4b0_94f95ea94f68["./options"] e35bc944_aefb_f8da_7d60_d1ef928275f2 --> 28e0e4fb_82e2_63fb_e4b0_94f95ea94f68 style e35bc944_aefb_f8da_7d60_d1ef928275f2 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
Dependencies
- ./options
Source
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 CompilerSFC domain, ScriptAnalyzer 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: CompilerSFC, subdomain: ScriptAnalyzer, directory: types).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free