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