From 0a98c6921b6997ed7f587ef8ffdff4e22ea177ad Mon Sep 17 00:00:00 2001 From: rudy-xhd Date: Tue, 13 Dec 2022 23:53:09 +0800 Subject: [PATCH] chore: improve code --- test-dts/defineComponent.test-d.tsx | 1 + 1 file changed, 1 insertion(+) 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({