Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 6042502

Browse files
committed
fix: Change tsconfig target to prevent transpile ES5 error
1 parent fe490d8 commit 6042502

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
33
"include": ["src", "types"],
44
"compilerOptions": {
5+
"target": "ES6",
56
"module": "esnext",
67
"lib": ["dom", "esnext"],
78
"importHelpers": true,
@@ -30,6 +31,6 @@
3031
// error out if import and file system have a casing mismatch. Recommended by TS
3132
"forceConsistentCasingInFileNames": true,
3233
// `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc`
33-
"noEmit": true,
34+
"noEmit": true
3435
}
3536
}

0 commit comments

Comments
 (0)