run dtslint on travis with --onlyTestTsNext as a workaround for failing prom-client typing with older TS versions

This commit is contained in:
Konstantin Pogorelov
2021-02-18 15:05:08 +01:00
parent 3ffdeef8ae
commit 92db62dc90
2 changed files with 3 additions and 2 deletions

View File

@@ -10,4 +10,4 @@ before_install:
script:
- npm run lint
- npm test
- npm run dtslint
- npm run dtslint-next

View File

@@ -19,7 +19,8 @@
"test": "node_modules/jasme/run.js",
"lint": "eslint src",
"coverage": "make coverage",
"dtslint": "dtslint types"
"dtslint": "dtslint types",
"dtslint-next": "dtslint --onlyTestTsNext types"
},
"author": "Konstantin Pogorelov <or@pluseq.com>",
"license": "MIT",