Home / File/ define-component-test.tsx — vue Source File

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.

File tsx CompilerSFC 11 imports

Entity Profile

Dependency Diagram

graph LR
  f85bf941_238a_429d_dcf1_dc7a42158b24["define-component-test.tsx"]
  09422b63_6947_479f_f3b8_a48790187388["./index"]
  f85bf941_238a_429d_dcf1_dc7a42158b24 --> 09422b63_6947_479f_f3b8_a48790187388
  640c5630_c924_297a_b265_64ad36b365b4["utils.ts"]
  f85bf941_238a_429d_dcf1_dc7a42158b24 --> 640c5630_c924_297a_b265_64ad36b365b4
  7d65dad0_e48b_e612_5731_1be8ed27e572["describe"]
  f85bf941_238a_429d_dcf1_dc7a42158b24 --> 7d65dad0_e48b_e612_5731_1be8ed27e572
  5f4a7580_a803_7560_b218_8b0cb5a709d8["describe"]
  f85bf941_238a_429d_dcf1_dc7a42158b24 --> 5f4a7580_a803_7560_b218_8b0cb5a709d8
  51796b54_3a82_06fd_ecd1_3c6eac68232a["test"]
  f85bf941_238a_429d_dcf1_dc7a42158b24 --> 51796b54_3a82_06fd_ecd1_3c6eac68232a
  2d4c7c14_e016_80bb_95a1_6b115af73049["test"]
  f85bf941_238a_429d_dcf1_dc7a42158b24 --> 2d4c7c14_e016_80bb_95a1_6b115af73049
  526bbcde_5613_9f1a_1c80_ab1e7061c667["expectType"]
  f85bf941_238a_429d_dcf1_dc7a42158b24 --> 526bbcde_5613_9f1a_1c80_ab1e7061c667
  ae6eb6a4_c3be_68e2_81f6_f67b97a4ccd3["expectType"]
  f85bf941_238a_429d_dcf1_dc7a42158b24 --> ae6eb6a4_c3be_68e2_81f6_f67b97a4ccd3
  3ca9fa1c_79a8_2d7f_00ce_b9c50cecd706["expectError"]
  f85bf941_238a_429d_dcf1_dc7a42158b24 --> 3ca9fa1c_79a8_2d7f_00ce_b9c50cecd706
  cf597a8f_5d2d_0635_8639_f4ef0a749ace["expectError"]
  f85bf941_238a_429d_dcf1_dc7a42158b24 --> cf597a8f_5d2d_0635_8639_f4ef0a749ace
  46412727_8fa7_52ec_9420_be74f3b843eb["IsUnion"]
  f85bf941_238a_429d_dcf1_dc7a42158b24 --> 46412727_8fa7_52ec_9420_be74f3b843eb
  style f85bf941_238a_429d_dcf1_dc7a42158b24 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

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 CompilerSFC 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: CompilerSFC, directory: types/test/v3).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free