From 3f5f98dcf5210a14c735ee57f3575c09e1a3723b Mon Sep 17 00:00:00 2001 From: cheng <64277988+chengQVQ@users.noreply.github.com> Date: Mon, 27 Sep 2021 17:12:13 +0800 Subject: [PATCH] chore(compiler-core): fix typo in defineComponent.test-d (#4688) --- test-dts/defineComponent.test-d.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-dts/defineComponent.test-d.tsx b/test-dts/defineComponent.test-d.tsx index ac7d28ac..6c8da059 100644 --- a/test-dts/defineComponent.test-d.tsx +++ b/test-dts/defineComponent.test-d.tsx @@ -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