File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,10 @@ describe('unit:types/Lib', () => {
93
93
expectTypeOf < TestSubject > ( ) . extract < 'ES2016' > ( ) . toBeString ( )
94
94
} )
95
95
96
+ it ( 'should extract "ES2017.Full"' , ( ) => {
97
+ expectTypeOf < TestSubject > ( ) . extract < 'ES2017.Full' > ( ) . toBeString ( )
98
+ } )
99
+
96
100
it ( 'should extract "ES2017.Intl"' , ( ) => {
97
101
expectTypeOf < TestSubject > ( ) . extract < 'ES2017.Intl' > ( ) . toBeString ( )
98
102
} )
@@ -344,6 +348,10 @@ describe('unit:types/Lib', () => {
344
348
expectTypeOf < TestSubject > ( ) . extract < 'es2016' > ( ) . toBeString ( )
345
349
} )
346
350
351
+ it ( 'should extract "es2017.full"' , ( ) => {
352
+ expectTypeOf < TestSubject > ( ) . extract < 'es2017.full' > ( ) . toBeString ( )
353
+ } )
354
+
347
355
it ( 'should extract "es2017.intl"' , ( ) => {
348
356
expectTypeOf < TestSubject > ( ) . extract < 'es2017.intl' > ( ) . toBeString ( )
349
357
} )
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ type Lib = OrLowercase<
31
31
| 'ES2016.Array.Include'
32
32
| 'ES2016.Full'
33
33
| 'ES2016'
34
+ | 'ES2017.Full'
34
35
| 'ES2017.Intl'
35
36
| 'ES2017.Object'
36
37
| 'ES2017.SharedMemory'
You can’t perform that action at this time.
0 commit comments