Skip to content

Commit 74c2872

Browse files
authored
Merge pull request #667 from brendandburns/es2020
Update our typescript settings.
2 parents 6040dfc + 33d810f commit 74c2872

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/package_test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { expect } from 'chai';
2+
import { URL } from 'url';
23

34
// Generic set of tests to verify the package is built and configured correctly
45
describe('package', () => {

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"module": "commonjs",
44
"noImplicitAny": false,
55
"suppressImplicitAnyIndexErrors": true,
6-
"target": "es6",
6+
"target": "es2019",
7+
"lib": ["es2020"],
78
"moduleResolution": "node",
89
"removeComments": false,
910
"sourceMap": true,

0 commit comments

Comments
 (0)