I am having trouble upgrading a package that recently switched a dependency from long@^4 to long@^5:
I can suppress the error by skipping library checks in my tsconfig.json file but perhaps this points to a problem with UMD?
{
"compilerOptions": {
"module": "CommonJS",
"resolveJsonModule": true,
"declaration": false,
"declarationMap": false,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"lib": ["es6", "dom"],
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"outDir": "./dist",
"baseUrl": "./",
"moduleResolution": "nodenext",
"esModuleInterop": true,
"incremental": false,
"skipLibCheck": false,
"noEmit": false,
"strictNullChecks": true,
"noImplicitAny": true,
"strictBindCallApply": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"allowJs": true,
"strict": false,
"types": ["mocha", "chai", "node"]
},
"include": ["src/**/*", "hardhat.config.cjs"]
}
I am having trouble upgrading a package that recently switched a dependency from long@^4 to long@^5:
I can suppress the error by skipping library checks in my tsconfig.json file but perhaps this points to a problem with UMD?
Here is my complete tsconfig for reference (with skipLibCheck=false):
stephenh/ts-proto#891