Skip to content

Commit 0e8f611

Browse files
committed
Remove typescript@3 legacy support
1 parent a6ff3c1 commit 0e8f611

File tree

9 files changed

+3
-797
lines changed

9 files changed

+3
-797
lines changed

package.json

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,9 @@
3838
],
3939
"sideEffects": false,
4040
"type": "module",
41-
"types": "types/ts3.4/index.d.ts",
42-
"typesVersions": {
43-
">=4.0": {
44-
"types/ts3.4/*": [
45-
"types/ts4.0/*"
46-
]
47-
}
48-
},
41+
"types": "types/index.d.ts",
4942
"files": [
50-
"types/ts3.4/index.d.ts",
51-
"types/ts4.0/index.d.ts",
43+
"types/index.d.ts",
5244
"index.d.ts",
5345
"index.js"
5446
],
@@ -73,9 +65,7 @@
7365
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
7466
"test-api": "node --conditions development test/index.js",
7567
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node --conditions development test/index.js",
76-
"xxx-test-types": "npm run test-types-3.4 && npm run test-types-4.0",
77-
"xxx-test-types-3.4": "dtslint types/ts3.4",
78-
"xxx-test-types-4.0": "dtslint types/ts4.0",
68+
"xxx-test-types": "dtslint types",
7969
"test": "npm run format && npm run test-coverage"
8070
},
8171
"prettier": {
File renamed without changes.

0 commit comments

Comments
 (0)