options-test.ts — vue Source File
Architecture documentation for options-test.ts, a typescript file in the vue codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 691c8fb6_0bf6_6502_ca02_d68dd209b10f["options-test.ts"] 451106ad_39e7_1c30_4a13_bb292ee7299e["./index"] 691c8fb6_0bf6_6502_ca02_d68dd209b10f --> 451106ad_39e7_1c30_4a13_bb292ee7299e 704ad6e7_d5ea_d033_64be_87fc9e6478c1["./vue"] 691c8fb6_0bf6_6502_ca02_d68dd209b10f --> 704ad6e7_d5ea_d033_64be_87fc9e6478c1 style 691c8fb6_0bf6_6502_ca02_d68dd209b10f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Vue, { PropType, VNode } from '../index'
import { ComponentOptions, Component } from '../index'
import { CreateElement } from '../vue'
interface MyComponent extends Vue {
a: number
}
const option: ComponentOptions<MyComponent> = {
data() {
return {
a: 123
}
}
}
// contravariant generic should use never
const anotherOption: ComponentOptions<never> = option
const componentType: Component = option
Vue.component('sub-component', {
components: {
a: Vue.component(''),
b: {}
}
})
Vue.component('prop-component', {
props: {
size: Number,
name: {
type: String,
default: '0',
required: true
}
},
data() {
return {
fixedSize: this.size.toFixed(),
capName: this.name.toUpperCase()
}
}
})
Vue.component('string-prop', {
props: ['size', 'name'],
data() {
return {
fixedSize: this.size.whatever,
capName: this.name.isany
}
}
})
class User {
private u = 1
}
class Cat {
private u = 1
}
// ... (457 more lines)
Domain
Subdomains
Functions
Dependencies
- ./index
- ./vue
Source
Frequently Asked Questions
What does options-test.ts do?
options-test.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 options-test.ts?
options-test.ts defines 2 function(s): confirm, option.data.
What does options-test.ts depend on?
options-test.ts imports 2 module(s): ./index, ./vue.
Where is options-test.ts in the architecture?
options-test.ts is located at types/test/options-test.ts (domain: VueCore, subdomain: Instance, directory: types/test).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free