Skip to content

Commit bafaca0

Browse files
committed
test: remove typescript 3.7 compat tests
1 parent e8443ea commit bafaca0

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@
8383
"install": "(shx test -f ./script/build.js || run-s build.js) && cross-env npm_config_build_from_source=true aminya-node-gyp-build",
8484
"clean": "shx rm -rf ./build ./lib/ ./prebuilds ./script/*.js ./script/*.js.map ./script/*.d.ts ./script/*.tsbuildinfo",
8585
"clean.temp": "shx rm -rf ./tmp && shx mkdir -p ./tmp && shx touch ./tmp/.gitkeep",
86-
"build.library.compat": "shx rm -rf ./lib/ts3.7 && downlevel-dts ./lib ./lib/ts3.7 --to=3.7",
87-
"build.library": "tsc -p ./src/tsconfig.json && run-s build.library.compat",
86+
"build.library": "tsc -p ./src/tsconfig.json",
8887
"build.script": "tsc -p ./script/tsconfig.json && tsc -p ./script/tsconfig.esm.json",
8988
"build.js": "run-p build.script build.library",
9089
"build.doc": "typedoc --options ./typedoc.json && minify-all -s docs-raw -d docs --jsCompressor terser",

test/unit/typings-compatibility-test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ import {assert} from "chai"
2323
type TestDef = {version: string; minTarget: string; requiredLibs?: string[]}
2424

2525
const tsVersions: TestDef[] = [
26-
// the oldest supported version
27-
{version: "3.7.x", minTarget: "es3"},
28-
2926
// 4.x
3027
{version: "4.x", minTarget: "es3"},
3128
]

0 commit comments

Comments
 (0)