@@ -27,7 +27,7 @@ describe('OmitKeyof', () => {
2727 // @ts -expect-error Type does not satisfy the constraint keyof A
2828 'z' | 'y'
2929 >
30- > ( ) . toEqualTypeOf < ExpectedType >
30+ > ( ) . toEqualTypeOf < ExpectedType > ( )
3131 expectTypeOf <
3232 OmitKeyof <
3333 A ,
@@ -36,7 +36,7 @@ describe('OmitKeyof', () => {
3636 'z' | 'y' ,
3737 'strictly'
3838 >
39- > ( ) . toEqualTypeOf < ExpectedType >
39+ > ( ) . toEqualTypeOf < ExpectedType > ( )
4040
4141 // 2. safely
4242 expectTypeOf <
@@ -46,15 +46,15 @@ describe('OmitKeyof', () => {
4646 // @ts -expect-error Type does not satisfy the constraint keyof A
4747 'z' | 'y'
4848 >
49- > ( ) . toEqualTypeOf < ExpectedType >
49+ > ( ) . toEqualTypeOf < ExpectedType > ( )
5050 expectTypeOf <
5151 OmitKeyof <
5252 A ,
5353 // With 'safely', OmitKeyof can use 'z' as type parameter like original Omit but This support autocomplete too yet for DX.
5454 'z' | 'y' ,
5555 'safely'
5656 >
57- > ( ) . toEqualTypeOf < ExpectedType >
57+ > ( ) . toEqualTypeOf < ExpectedType > ( )
5858 } )
5959
6060 it ( "'s number key type check" , ( ) => {
@@ -82,7 +82,7 @@ describe('OmitKeyof', () => {
8282 // @ts -expect-error Type does not satisfy the constraint keyof A
8383 3 | 2
8484 >
85- > ( ) . toEqualTypeOf < ExpectedType >
85+ > ( ) . toEqualTypeOf < ExpectedType > ( )
8686 expectTypeOf <
8787 OmitKeyof <
8888 A ,
@@ -91,7 +91,7 @@ describe('OmitKeyof', () => {
9191 3 | 2 ,
9292 'strictly'
9393 >
94- > ( ) . toEqualTypeOf < ExpectedType >
94+ > ( ) . toEqualTypeOf < ExpectedType > ( )
9595
9696 // 2. safely
9797 expectTypeOf <
@@ -101,15 +101,15 @@ describe('OmitKeyof', () => {
101101 // @ts -expect-error Type does not satisfy the constraint keyof A
102102 3 | 2
103103 >
104- > ( ) . toEqualTypeOf < ExpectedType >
104+ > ( ) . toEqualTypeOf < ExpectedType > ( )
105105 expectTypeOf <
106106 OmitKeyof <
107107 A ,
108108 // With 'safely', OmitKeyof can use 3 as type parameter like original Omit but This support autocomplete too yet for DX.
109109 3 | 2 ,
110110 'safely'
111111 >
112- > ( ) . toEqualTypeOf < ExpectedType >
112+ > ( ) . toEqualTypeOf < ExpectedType > ( )
113113 } )
114114
115115 it ( "'s symbol key type check" , ( ) => {
@@ -143,7 +143,7 @@ describe('OmitKeyof', () => {
143143 // @ts -expect-error Type does not satisfy the constraint keyof A
144144 typeof symbol3 | typeof symbol2
145145 >
146- > ( ) . toEqualTypeOf < ExpectedType >
146+ > ( ) . toEqualTypeOf < ExpectedType > ( )
147147 expectTypeOf <
148148 OmitKeyof <
149149 A ,
@@ -152,7 +152,7 @@ describe('OmitKeyof', () => {
152152 typeof symbol3 | typeof symbol2 ,
153153 'strictly'
154154 >
155- > ( ) . toEqualTypeOf < ExpectedType >
155+ > ( ) . toEqualTypeOf < ExpectedType > ( )
156156
157157 // 2. safely
158158 expectTypeOf <
@@ -162,14 +162,14 @@ describe('OmitKeyof', () => {
162162 // @ts -expect-error Type does not satisfy the constraint keyof A
163163 typeof symbol3 | typeof symbol2
164164 >
165- > ( ) . toEqualTypeOf < ExpectedType >
165+ > ( ) . toEqualTypeOf < ExpectedType > ( )
166166 expectTypeOf <
167167 OmitKeyof <
168168 A ,
169169 // With 'safely', OmitKeyof can use symbol3 as type parameter like original Omit but This support autocomplete too yet for DX.
170170 typeof symbol3 | typeof symbol2 ,
171171 'safely'
172172 >
173- > ( ) . toEqualTypeOf < ExpectedType >
173+ > ( ) . toEqualTypeOf < ExpectedType > ( )
174174 } )
175175} )
0 commit comments