issues
search
nervosnetwork
/
polyjuice-provider
Godwoken-Polyjuice compatible providers for ethereum library
https://www.npmjs.com/org/polyjuice-provider
8
stars
13
forks
source link
fix: make godwoken package strict tsconfig compatible
#65
Closed
e00dan
closed
2 years ago
e00dan
commented
2 years ago
Changes:
Move typescript package to global package.json and remove it from individual package.json to avoid repetition
Fix @polyjuice-provider/godwoken compatibility with TypeScript 4.4 when "strict" in tsconfig.json is set to true
Use ES2019 for @polyjuice-provider/godwoken compatibility with Create React App
Fixed problem:
Literature:
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-4.html#defaulting-to-the-unknown-type-in-catch-variables---useunknownincatchvariables
https://www.typescriptlang.org/tsconfig#useUnknownInCatchVariables
(default to true when strict true)
Please review @RetricSu
Changes:
Fixed problem:
Literature:
Please review @RetricSu