define-component-test.tsx — vue Source File
Architecture documentation for define-component-test.tsx, a tsx file in the vue codebase. 11 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 0571fada_97e5_2a95_6d68_c031641298ba["define-component-test.tsx"] 451106ad_39e7_1c30_4a13_bb292ee7299e["./index"] 0571fada_97e5_2a95_6d68_c031641298ba --> 451106ad_39e7_1c30_4a13_bb292ee7299e 3bc1859e_5f62_1ad0_1a20_c1ba96d0683f["utils.ts"] 0571fada_97e5_2a95_6d68_c031641298ba --> 3bc1859e_5f62_1ad0_1a20_c1ba96d0683f 46bce54a_6904_14ab_386b_534c5c7fffd4["describe"] 0571fada_97e5_2a95_6d68_c031641298ba --> 46bce54a_6904_14ab_386b_534c5c7fffd4 0d1d7fa8_6c23_89bd_a93c_da22952bfee8["describe"] 0571fada_97e5_2a95_6d68_c031641298ba --> 0d1d7fa8_6c23_89bd_a93c_da22952bfee8 d37e236e_bcb5_1bf7_e910_4533121c7e76["test"] 0571fada_97e5_2a95_6d68_c031641298ba --> d37e236e_bcb5_1bf7_e910_4533121c7e76 0bd644e0_8435_485e_d0a8_7dd0c75620a3["test"] 0571fada_97e5_2a95_6d68_c031641298ba --> 0bd644e0_8435_485e_d0a8_7dd0c75620a3 620797b4_7e39_eef5_c1bc_e0f39399ca9d["expectType"] 0571fada_97e5_2a95_6d68_c031641298ba --> 620797b4_7e39_eef5_c1bc_e0f39399ca9d 2d9e76a6_6850_37a3_10b2_3172dcc30bcd["expectType"] 0571fada_97e5_2a95_6d68_c031641298ba --> 2d9e76a6_6850_37a3_10b2_3172dcc30bcd 075325e7_e9ee_cbcc_0098_1123e564f484["expectError"] 0571fada_97e5_2a95_6d68_c031641298ba --> 075325e7_e9ee_cbcc_0098_1123e564f484 1a8dc226_000a_3b51_934a_0e084cd638c1["expectError"] 0571fada_97e5_2a95_6d68_c031641298ba --> 1a8dc226_000a_3b51_934a_0e084cd638c1 155060fc_7986_df7b_c8e9_1f949c3b644d["IsUnion"] 0571fada_97e5_2a95_6d68_c031641298ba --> 155060fc_7986_df7b_c8e9_1f949c3b644d style 0571fada_97e5_2a95_6d68_c031641298ba fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Vue, { VueConstructor } from '../../index'
import {
Component,
defineComponent,
PropType,
ref,
reactive,
ComponentPublicInstance
} from '../../index'
import { describe, test, expectType, expectError, IsUnion } from '../utils'
describe('compat with v2 APIs', () => {
const comp = defineComponent({})
Vue.component('foo', comp)
function install(app: VueConstructor) {
app.component('foo', comp)
}
})
describe('with object props', () => {
interface ExpectedProps {
a?: number | undefined
b: string
e?: Function
h: boolean
j: undefined | (() => string | undefined)
bb: string
bbb: string
bbbb: string | undefined
bbbbb: string | undefined
cc?: string[] | undefined
dd: { n: 1 }
ee?: () => string
ff?: (a: number, b: string) => { a: boolean }
ccc?: string[] | undefined
ddd: string[]
eee: () => { a: string }
fff: (a: number, b: string) => { a: boolean }
hhh: boolean
ggg: 'foo' | 'bar'
ffff: (a: number, b: string) => { a: boolean }
iii?: (() => string) | (() => number)
jjj: ((arg1: string) => string) | ((arg1: string, arg2: string) => string)
kkk?: any
validated?: string
date?: Date
l?: Date
ll?: Date | number
lll?: string | number
}
type GT = string & { __brand: unknown }
const props = {
a: Number,
// required should make property non-void
b: {
type: String,
required: true as true
// ... (1168 more lines)
Domain
Types
Dependencies
Source
Frequently Asked Questions
What does define-component-test.tsx do?
define-component-test.tsx is a source file in the vue codebase, written in tsx. It belongs to the VueCore domain.
What does define-component-test.tsx depend on?
define-component-test.tsx imports 11 module(s): ./index, IsUnion, describe, describe, expectError, expectError, expectType, expectType, and 3 more.
Where is define-component-test.tsx in the architecture?
define-component-test.tsx is located at types/test/v3/define-component-test.tsx (domain: VueCore, directory: types/test/v3).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free