options.d.ts — vue Source File
Architecture documentation for options.d.ts, a typescript file in the vue codebase. 7 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR f493510d_f7fc_4153_b4bd_6a9c8da0e741["options.d.ts"] 704ad6e7_d5ea_d033_64be_87fc9e6478c1["./vue"] f493510d_f7fc_4153_b4bd_6a9c8da0e741 --> 704ad6e7_d5ea_d033_64be_87fc9e6478c1 399e579f_d260_79e9_af47_2a8192ddf5af["./vnode"] f493510d_f7fc_4153_b4bd_6a9c8da0e741 --> 399e579f_d260_79e9_af47_2a8192ddf5af 653962b7_947f_5751_c3dd_3df808295fbf["./v3-setup-context"] f493510d_f7fc_4153_b4bd_6a9c8da0e741 --> 653962b7_947f_5751_c3dd_3df808295fbf c7199525_87aa_5674_ea7c_b4ecdca417bc["./v3-generated"] f493510d_f7fc_4153_b4bd_6a9c8da0e741 --> c7199525_87aa_5674_ea7c_b4ecdca417bc 9cf05bd7_5b61_ee72_59ac_663c0447e370["./v3-define-component"] f493510d_f7fc_4153_b4bd_6a9c8da0e741 --> 9cf05bd7_5b61_ee72_59ac_663c0447e370 70e6714c_441d_4555_e9fa_a4e922f34b63["./v3-component-options"] f493510d_f7fc_4153_b4bd_6a9c8da0e741 --> 70e6714c_441d_4555_e9fa_a4e922f34b63 2a727529_d378_5962_312a_63bc0120dd62["./v3-directive"] f493510d_f7fc_4153_b4bd_6a9c8da0e741 --> 2a727529_d378_5962_312a_63bc0120dd62 style f493510d_f7fc_4153_b4bd_6a9c8da0e741 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Vue, CreateElement, CombinedVueInstance } from './vue'
import { VNode, VNodeData, VNodeDirective, NormalizedScopedSlot } from './vnode'
import { SetupContext } from './v3-setup-context'
import { DebuggerEvent } from './v3-generated'
import { DefineComponent } from './v3-define-component'
import { ComponentOptionsMixin } from './v3-component-options'
import { ObjectDirective, FunctionDirective } from './v3-directive'
type Constructor = {
new (...args: any[]): any
}
// we don't support infer props in async component
// N.B. ComponentOptions<V> is contravariant, the default generic should be bottom type
export type Component<
Data = DefaultData<never>,
Methods = DefaultMethods<never>,
Computed = DefaultComputed,
Props = DefaultProps,
SetupBindings = {}
> =
| typeof Vue
| FunctionalComponentOptions<Props>
| ComponentOptions<never, Data, Methods, Computed, Props, SetupBindings>
| DefineComponent<any, any, any, any, any, any, any, any, any, any, any>
type EsModule<T> = T | { default: T }
type ImportedComponent<
Data = DefaultData<never>,
Methods = DefaultMethods<never>,
Computed = DefaultComputed,
Props = DefaultProps,
SetupBindings = {}
> = EsModule<Component<Data, Methods, Computed, Props, SetupBindings>>
export type AsyncComponent<
Data = DefaultData<never>,
Methods = DefaultMethods<never>,
Computed = DefaultComputed,
Props = DefaultProps,
SetupBindings = {}
> =
| AsyncComponentPromise<Data, Methods, Computed, Props, SetupBindings>
| AsyncComponentFactory<Data, Methods, Computed, Props, SetupBindings>
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
// ... (290 more lines)
Domain
Subdomains
Types
- Accessors
- ArrayPropsDefinition
- AsyncComponent
- AsyncComponentFactory
- AsyncComponentPromise
- Component
- ComponentOptions
- ComputedOptions
- Constructor
- DataDef
- DefaultComputed
- DefaultData
- DefaultMethods
- DefaultProps
- DirectiveBinding
- DirectiveFunction
- DirectiveOptions
- EsModule
- FunctionalComponentOptions
- ImportedComponent
- InjectKey
- InjectOptions
- Prop
- PropOptions
- PropType
- PropValidator
- PropsDefinition
- RecordPropsDefinition
- RenderContext
- ThisTypedComponentOptionsWithArrayProps
- ThisTypedComponentOptionsWithRecordProps
- WatchHandler
- WatchOptions
- WatchOptionsWithHandler
Dependencies
- ./v3-component-options
- ./v3-define-component
- ./v3-directive
- ./v3-generated
- ./v3-setup-context
- ./vnode
- ./vue
Source
Frequently Asked Questions
What does options.d.ts do?
options.d.ts is a source file in the vue codebase, written in typescript. It belongs to the VueCore domain, GlobalAPI subdomain.
What functions are defined in options.d.ts?
options.d.ts defines 10 function(s): Data, Promise, T, V, VNode, args, el, props, resolve, val.
What does options.d.ts depend on?
options.d.ts imports 7 module(s): ./v3-component-options, ./v3-define-component, ./v3-directive, ./v3-generated, ./v3-setup-context, ./vnode, ./vue.
Where is options.d.ts in the architecture?
options.d.ts is located at types/options.d.ts (domain: VueCore, subdomain: GlobalAPI, directory: types).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free