* Bump tsc

* Checktypes update
This commit is contained in:
Jaco
2021-12-12 11:44:20 +02:00
committed by GitHub
parent 2aa8525fe7
commit fa7669f0af
4 changed files with 312 additions and 258 deletions
+3 -3
View File
@@ -34,13 +34,13 @@
"@babel/core": "^7.16.0",
"@babel/register": "^7.16.0",
"@babel/runtime": "^7.16.3",
"@polkadot/dev": "^0.63.35",
"@polkadot/ts": "^0.4.16",
"@polkadot/dev": "^0.63.39",
"@polkadot/ts": "^0.4.18",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^27.0.3",
"copyfiles": "^2.4.1"
},
"resolutions": {
"typescript": "^4.5.2"
"typescript": "^4.5.3"
}
}
+1 -1
View File
@@ -202,7 +202,7 @@ function types (api: ApiPromise): void {
async function tx (api: ApiPromise, pairs: TestKeyringMap): Promise<void> {
// transfer, also allows for bigint inputs here
const transfer = api.tx.balances.transfer(pairs.bob.address, 123456789n);
const transfer = api.tx.balances.transfer(pairs.bob.address, BigInt(123456789));
console.log('transfer casted', transfer as IMethod<AnyTuple>, transfer as IExtrinsic<AnyTuple>);
+1 -1
View File
@@ -40,7 +40,7 @@
"@polkadot/util": "^8.1.2",
"handlebars": "^4.7.7",
"websocket": "^1.0.34",
"yargs": "^17.2.1"
"yargs": "^17.3.0"
},
"devDependencies": {
"@types/websocket": "^1.0.4",
+307 -253
View File
File diff suppressed because it is too large Load Diff