GlobalAPI Type — vue Architecture
Architecture documentation for the GlobalAPI type/interface in global-api.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 2b690b4c_036e_ed65_de0a_55baaf73ca86["GlobalAPI"] 76e5daad_5fc4_712f_a3f7_76cedaa2d1a6["global-api.ts"] 2b690b4c_036e_ed65_de0a_55baaf73ca86 -->|defined in| 76e5daad_5fc4_712f_a3f7_76cedaa2d1a6 style 2b690b4c_036e_ed65_de0a_55baaf73ca86 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/types/global-api.ts lines 7–37
export interface GlobalAPI {
// new(options?: any): Component
(options?: any): void
cid: number
options: Record<string, any>
config: Config
util: Object
extend: (options: typeof Component | object) => typeof Component
set: <T>(target: Object | Array<T>, key: string | number, value: T) => T
delete: <T>(target: Object | Array<T>, key: string | number) => void
nextTick: (fn: Function, context?: Object) => void | Promise<any>
use: (plugin: Function | Object) => GlobalAPI
mixin: (mixin: Object) => GlobalAPI
compile: (template: string) => {
render: Function
staticRenderFns: Array<Function>
}
directive: (id: string, def?: Function | Object) => Function | Object | void
component: (
id: string,
def?: typeof Component | Object
) => typeof Component | void
filter: (id: string, def?: Function) => Function | void
observable: <T>(value: T) => T
// allow dynamic method registration
[key: string]: any
}
Defined In
Source
Frequently Asked Questions
What is the GlobalAPI type?
GlobalAPI is a type/interface in the vue codebase, defined in src/types/global-api.ts.
Where is GlobalAPI defined?
GlobalAPI is defined in src/types/global-api.ts at line 7.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free