nutritious-pager-34892
03/13/2020, 11:48 PMgentle-diamond-70147
03/13/2020, 11:49 PMnutritious-pager-34892
03/13/2020, 11:49 PMgentle-diamond-70147
03/13/2020, 11:50 PMnutritious-pager-34892
03/13/2020, 11:50 PMnpm install @types/scp2
if it exists or add a new declaration (.d.ts) file containing `declare module ‘scp2’;`ts(7016)I also see these errors: provisioners/index.ts(47,18): error TS7006: Parameter 'err' implicitly has an 'any' type.
provisioners/index.ts(94,41): error TS7006: Parameter 'code' implicitly has an 'any' type.
provisioners/index.ts(94,47): error TS7006: Parameter 'signal' implicitly has an 'any' type.
provisioners/index.ts(101,36): error TS7006: Parameter 'data' implicitly has an 'any' type.
provisioners/index.ts(173,63): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
{
"compilerOptions": {
"strict": true,
"outDir": "bin",
"target": "es2016",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"experimentalDecorators": true,
"pretty": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.ts"
]
}