Skip to content

Commit 3c897d1

Browse files
committed
fix: support for ES2015 features
1 parent 52ca17d commit 3c897d1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "leetcode",
33
"version": "1.0.0",
44
"scripts": {
5-
"dev": "tsc -w ./src/index.ts"
5+
"dev": "tsc -w"
66
},
77
"author": "Jakub Niewelt",
88
"license": "ISC",

tsconfig.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"compilerOptions": {
33
"noImplicitAny": true,
4+
"rootDir": "./src/",
45
"target": "ES5",
5-
"module": "ES2015"
6-
}
6+
"module": "ES2015",
7+
"lib": ["ES2015", "DOM"]
8+
},
9+
"exclude": ["archive"]
710
}

0 commit comments

Comments
 (0)