Skip to content

Commit f7ce488

Browse files
committed
Specify only esnext lib in options
It already references all previous ones.
1 parent 220481d commit f7ce488

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ Changelog can be found in [CHANGELOG.md](https://github.com/TypeScriptToLua/Type
4242
{
4343
"compilerOptions": {
4444
"target": "esnext",
45-
"lib": ["es2015", "es2016", "es2017", "es2018", "esnext"],
45+
"lib": ["esnext"],
4646
"strict": true
4747
},
4848
"tstl": {
49-
"luaTarget": "JIT"
49+
"luaTarget": "JIT"
5050
}
5151
}
5252
```

test/util.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@ export function transpileStringResult(
2929
noHeader: true,
3030
skipLibCheck: true,
3131
target: ts.ScriptTarget.ESNext,
32-
lib: [
33-
"lib.es2015.d.ts",
34-
"lib.es2016.d.ts",
35-
"lib.es2017.d.ts",
36-
"lib.es2018.d.ts",
37-
"lib.esnext.d.ts",
38-
],
32+
lib: ["lib.esnext.d.ts"],
3933
experimentalDecorators: true,
4034
...options,
4135
};

0 commit comments

Comments
 (0)