Skip to content

Commit cf35667

Browse files
authored
Support browsers from before 2020
As reported in #2825, #2826 and #3051, almost everything works in older browsers. This setting here prevented me from updating and I think it is an obvious enhancement to not restrict to browsers from 2020+. There should not be any measurable downsides of this change since es6 and es2020 are pretty similar with only minor differences.
1 parent 62b3a6f commit cf35667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2020",
3+
"target": "es6",
44
"module": "commonjs",
55
"moduleResolution": "node",
66
"strict": true,

0 commit comments

Comments
 (0)