@@ -24,16 +24,16 @@ describe('unit-d:interfaces/EsbuildOptions', () => {
24
24
. toEqualTypeOf < Nilable < { [ key : string ] : string } > > ( )
25
25
} )
26
26
27
- it ( 'should match [drop?: Drop[] | null | undefined]' , ( ) => {
27
+ it ( 'should match [drop?: Set<Drop> | readonly Drop[] | null | undefined]' , ( ) => {
28
28
expectTypeOf < TestSubject > ( )
29
29
. toHaveProperty ( 'drop' )
30
- . toEqualTypeOf < Nilable < Drop [ ] > > ( )
30
+ . toEqualTypeOf < Nilable < Set < Drop > | readonly Drop [ ] > > ( )
31
31
} )
32
32
33
- it ( 'should match [dropLabels?: string[] | null | undefined]' , ( ) => {
33
+ it ( 'should match [dropLabels?: Set<string> | readonly string[] | null | undefined]' , ( ) => {
34
34
expectTypeOf < TestSubject > ( )
35
35
. toHaveProperty ( 'dropLabels' )
36
- . toEqualTypeOf < Nilable < string [ ] > > ( )
36
+ . toEqualTypeOf < Nilable < Set < string > | readonly string [ ] > > ( )
37
37
} )
38
38
39
39
it ( 'should match [exclude?: FilterPattern | null | undefined]' , ( ) => {
@@ -42,6 +42,12 @@ describe('unit-d:interfaces/EsbuildOptions', () => {
42
42
. toEqualTypeOf < Nilable < FilterPattern > > ( )
43
43
} )
44
44
45
+ it ( 'should match [ignoreAnnotations?: boolean | null | undefined]' , ( ) => {
46
+ expectTypeOf < TestSubject > ( )
47
+ . toHaveProperty ( 'ignoreAnnotations' )
48
+ . toEqualTypeOf < Nilable < boolean > > ( )
49
+ } )
50
+
45
51
it ( 'should match [include?: FilterPattern | null | undefined]' , ( ) => {
46
52
expectTypeOf < TestSubject > ( )
47
53
. toHaveProperty ( 'include' )
@@ -150,6 +156,12 @@ describe('unit-d:interfaces/EsbuildOptions', () => {
150
156
. toEqualTypeOf < Nilable < Platform > > ( )
151
157
} )
152
158
159
+ it ( 'should match [pure?: Set<string> | readonly string[] | null | undefined]' , ( ) => {
160
+ expectTypeOf < TestSubject > ( )
161
+ . toHaveProperty ( 'pure' )
162
+ . toEqualTypeOf < Nilable < Set < string > | readonly string [ ] > > ( )
163
+ } )
164
+
153
165
it ( 'should match [reserveProps?: RegExp | null | undefined]' , ( ) => {
154
166
expectTypeOf < TestSubject > ( )
155
167
. toHaveProperty ( 'reserveProps' )
@@ -162,10 +174,10 @@ describe('unit-d:interfaces/EsbuildOptions', () => {
162
174
. toEqualTypeOf < Nilable < Record < string , boolean > > > ( )
163
175
} )
164
176
165
- it ( 'should match [target?: Set<string> | string[] | string | null | undefined]' , ( ) => {
177
+ it ( 'should match [target?: Set<string> | readonly string[] | string | null | undefined]' , ( ) => {
166
178
expectTypeOf < TestSubject > ( )
167
179
. toHaveProperty ( 'target' )
168
- . toEqualTypeOf < Nilable < Set < string > | string [ ] | string > > ( )
180
+ . toEqualTypeOf < Nilable < Set < string > | readonly string [ ] | string > > ( )
169
181
} )
170
182
171
183
it ( 'should match [tsconfigRaw?: Tsconfig | string | null | undefined]' , ( ) => {
0 commit comments