Skip to content

Commit fa7669f

Browse files
authored
Bump tsc (#4323)
* Bump tsc * Checktypes update
1 parent 2aa8525 commit fa7669f

File tree

4 files changed

+312
-258
lines changed

4 files changed

+312
-258
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
"@babel/core": "^7.16.0",
3535
"@babel/register": "^7.16.0",
3636
"@babel/runtime": "^7.16.3",
37-
"@polkadot/dev": "^0.63.35",
38-
"@polkadot/ts": "^0.4.16",
37+
"@polkadot/dev": "^0.63.39",
38+
"@polkadot/ts": "^0.4.18",
3939
"@polkadot/typegen": "workspace:packages/typegen",
4040
"@types/jest": "^27.0.3",
4141
"copyfiles": "^2.4.1"
4242
},
4343
"resolutions": {
44-
"typescript": "^4.5.2"
44+
"typescript": "^4.5.3"
4545
}
4646
}

packages/api/src/checkTypes.manual.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function types (api: ApiPromise): void {
202202

203203
async function tx (api: ApiPromise, pairs: TestKeyringMap): Promise<void> {
204204
// transfer, also allows for bigint inputs here
205-
const transfer = api.tx.balances.transfer(pairs.bob.address, 123456789n);
205+
const transfer = api.tx.balances.transfer(pairs.bob.address, BigInt(123456789));
206206

207207
console.log('transfer casted', transfer as IMethod<AnyTuple>, transfer as IExtrinsic<AnyTuple>);
208208

packages/typegen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@polkadot/util": "^8.1.2",
4141
"handlebars": "^4.7.7",
4242
"websocket": "^1.0.34",
43-
"yargs": "^17.2.1"
43+
"yargs": "^17.3.0"
4444
},
4545
"devDependencies": {
4646
"@types/websocket": "^1.0.4",

0 commit comments

Comments
 (0)