CI: Use tsd for Testing Types (#6983)

Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
Suneet Tipirneni
2021-11-23 12:00:58 -05:00
committed by GitHub
parent 2a0dedf3e9
commit 9f3bf2927c
5 changed files with 1035 additions and 332 deletions

View File

@@ -4,7 +4,7 @@
"description": "A powerful library for interacting with the Discord API",
"scripts": {
"test": "npm run lint && npm run docs:test && npm run lint:typings && npm run test:typescript",
"test:typescript": "tsc --noEmit",
"test:typescript": "tsc --noEmit && tsd",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"lint:typings": "tslint typings/index.d.ts",
@@ -76,6 +76,7 @@
"jest": "^27.3.1",
"lint-staged": "^11.2.6",
"prettier": "^2.4.1",
"tsd": "^0.18.0",
"tslint": "^6.1.3",
"typescript": "^4.5.2"
},