fix: enforce type checking on commit time
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
"lintfix": "pnpm run lintfix:script && pnpm run lintfix:style",
|
||||
"test": "jest",
|
||||
"do-dev": "pnpm run dev",
|
||||
"do-typecheck": "pnpx tsc --noEmit",
|
||||
"do-build-prod": "pnpm run generate",
|
||||
"do-prod-start": "pnpm run start",
|
||||
"do-lint": "pnpm run lint",
|
||||
@@ -146,6 +147,7 @@
|
||||
"@types/httpsnippet": "^1.23.1",
|
||||
"@types/lodash": "^4.14.179",
|
||||
"@types/lossless-json": "^1.0.1",
|
||||
"@types/paho-mqtt": "^1.0.6",
|
||||
"@types/postman-collection": "^3.5.7",
|
||||
"@types/splitpanes": "^2.2.1",
|
||||
"@types/uuid": "^8.3.4",
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"esModuleInterop": true,
|
||||
"allowJs": true,
|
||||
"sourceMap": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"noEmit": true,
|
||||
"baseUrl": ".",
|
||||
|
||||
7
packages/hoppscotch-app/types/socket-io-2.d.ts
vendored
Normal file
7
packages/hoppscotch-app/types/socket-io-2.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
// NOTE: This is an implementation just for shutting up
|
||||
// tsc, this is really annoying (and maybe dangerous)
|
||||
// We don't have access to the 2.4.0 typings, hence we make do with this,
|
||||
// Check docs before you correct types again as you need
|
||||
declare module "socket.io-client-v2" {
|
||||
export type Socket = any
|
||||
}
|
||||
Reference in New Issue
Block a user