diff --git a/test-dts/defineComponent.test-d.tsx b/test-dts/defineComponent.test-d.tsx index 7847b86abae..8a90cc60762 100644 --- a/test-dts/defineComponent.test-d.tsx +++ b/test-dts/defineComponent.test-d.tsx @@ -1257,6 +1257,7 @@ describe('prop starting with `on*` is broken', () => { }) }) +// #5885 describe('should work when props type is incompatible with setup returned type ', () => { type SizeType = 'small' | 'big' const Comp = defineComponent({