chore(compiler-core): fix typo in defineComponent.test-d (#4688)
This commit is contained in:
parent
c5c53846ed
commit
3f5f98dcf5
@ -90,7 +90,7 @@ describe('with object props', () => {
|
|||||||
ff: Function as PropType<(a: number, b: string) => { a: boolean }>,
|
ff: Function as PropType<(a: number, b: string) => { a: boolean }>,
|
||||||
// explicit type casting with constructor
|
// explicit type casting with constructor
|
||||||
ccc: Array as () => string[],
|
ccc: Array as () => string[],
|
||||||
// required + contructor type casting
|
// required + constructor type casting
|
||||||
ddd: {
|
ddd: {
|
||||||
type: Array as () => string[],
|
type: Array as () => string[],
|
||||||
required: true
|
required: true
|
||||||
|
Loading…
Reference in New Issue
Block a user