chore(compiler-core): fix typo in defineComponent.test-d (#4688)

This commit is contained in:
cheng 2021-09-27 17:12:13 +08:00 committed by GitHub
parent c5c53846ed
commit 3f5f98dcf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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