|
|
@@ -678,6 +678,7 @@ const emit = defineEmits(['a', 'b'])
|
|
|
fn: (n: number) => void
|
|
|
functionRef: Function
|
|
|
objectRef: Object
|
|
|
+ dateTime: Date
|
|
|
array: string[]
|
|
|
arrayRef: Array<any>
|
|
|
tuple: [number, number]
|
|
|
@@ -706,6 +707,7 @@ const emit = defineEmits(['a', 'b'])
|
|
|
expect(content).toMatch(`fn: { type: Function, required: true }`)
|
|
|
expect(content).toMatch(`functionRef: { type: Function, required: true }`)
|
|
|
expect(content).toMatch(`objectRef: { type: Object, required: true }`)
|
|
|
+ expect(content).toMatch(`dateTime: { type: Date, required: true }`)
|
|
|
expect(content).toMatch(`array: { type: Array, required: true }`)
|
|
|
expect(content).toMatch(`arrayRef: { type: Array, required: true }`)
|
|
|
expect(content).toMatch(`tuple: { type: Array, required: true }`)
|
|
|
@@ -737,6 +739,7 @@ const emit = defineEmits(['a', 'b'])
|
|
|
fn: BindingTypes.PROPS,
|
|
|
functionRef: BindingTypes.PROPS,
|
|
|
objectRef: BindingTypes.PROPS,
|
|
|
+ dateTime: BindingTypes.PROPS,
|
|
|
array: BindingTypes.PROPS,
|
|
|
arrayRef: BindingTypes.PROPS,
|
|
|
tuple: BindingTypes.PROPS,
|