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 86fdb08c_09b2_52b6_3dbe_75f67e0f10f4["options-test.ts"] 09422b63_6947_479f_f3b8_a48790187388["./index"] 86fdb08c_09b2_52b6_3dbe_75f67e0f10f4 --> 09422b63_6947_479f_f3b8_a48790187388 dc6e3659_cdc8_9bde_c04a_3f2e10157f23["./vue"] 86fdb08c_09b2_52b6_3dbe_75f67e0f10f4 --> dc6e3659_cdc8_9bde_c04a_3f2e10157f23 style 86fdb08c_09b2_52b6_3dbe_75f67e0f10f4 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 CompilerSFC domain, ScriptAnalyzer 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: CompilerSFC, subdomain: ScriptAnalyzer, directory: types/test).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free