]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(compiler-core): fix typo in defineComponent.test-d (#4688)
authorcheng <64277988+chengQVQ@users.noreply.github.com>
Mon, 27 Sep 2021 09:12:13 +0000 (17:12 +0800)
committerGitHub <noreply@github.com>
Mon, 27 Sep 2021 09:12:13 +0000 (11:12 +0200)
test-dts/defineComponent.test-d.tsx

index ac7d28acb56e53944ed3644d3a7f73304565bdb7..6c8da0591c0beba4bec641704460a84da40fed25 100644 (file)
@@ -90,7 +90,7 @@ describe('with object props', () => {
       ff: Function as PropType<(a: number, b: string) => { a: boolean }>,
       // explicit type casting with constructor
       ccc: Array as () => string[],
-      // required + contructor type casting
+      // required + constructor type casting
       ddd: {
         type: Array as () => string[],
         required: true