Skip to content

Commit 95ede7f

Browse files
committed
feat(types): [Lib] add ES2017.Full
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 6b12f41 commit 95ede7f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/types/__tests__/lib.spec-d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ describe('unit:types/Lib', () => {
9393
expectTypeOf<TestSubject>().extract<'ES2016'>().toBeString()
9494
})
9595

96+
it('should extract "ES2017.Full"', () => {
97+
expectTypeOf<TestSubject>().extract<'ES2017.Full'>().toBeString()
98+
})
99+
96100
it('should extract "ES2017.Intl"', () => {
97101
expectTypeOf<TestSubject>().extract<'ES2017.Intl'>().toBeString()
98102
})
@@ -344,6 +348,10 @@ describe('unit:types/Lib', () => {
344348
expectTypeOf<TestSubject>().extract<'es2016'>().toBeString()
345349
})
346350

351+
it('should extract "es2017.full"', () => {
352+
expectTypeOf<TestSubject>().extract<'es2017.full'>().toBeString()
353+
})
354+
347355
it('should extract "es2017.intl"', () => {
348356
expectTypeOf<TestSubject>().extract<'es2017.intl'>().toBeString()
349357
})

src/types/lib.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ type Lib = OrLowercase<
3131
| 'ES2016.Array.Include'
3232
| 'ES2016.Full'
3333
| 'ES2016'
34+
| 'ES2017.Full'
3435
| 'ES2017.Intl'
3536
| 'ES2017.Object'
3637
| 'ES2017.SharedMemory'

0 commit comments

Comments
 (0)