+7
-9
File diff suppressed because one or more lines are too long
+7
-9
File diff suppressed because one or more lines are too long
Vendored
-55
File diff suppressed because one or more lines are too long
+591
File diff suppressed because one or more lines are too long
+1
-1
@@ -10,4 +10,4 @@ plugins:
|
||||
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
|
||||
spec: "@yarnpkg/plugin-version"
|
||||
|
||||
yarnPath: .yarn/releases/yarn-2.4.1.cjs
|
||||
yarnPath: .yarn/releases/yarn-3.0.0-rc.2.cjs
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
"packages/*"
|
||||
],
|
||||
"resolutions": {
|
||||
"typescript": "^4.2.4"
|
||||
"typescript": "^4.3.2"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "polkadot-dev-build-ts",
|
||||
@@ -22,8 +22,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.14.3",
|
||||
"@polkadot/dev": "^0.62.20",
|
||||
"@polkadot/ts": "^0.3.69",
|
||||
"@polkadot/dev": "^0.62.22",
|
||||
"@polkadot/ts": "^0.3.71",
|
||||
"@types/jest": "^26.0.23"
|
||||
},
|
||||
"version": "6.6.2-0"
|
||||
|
||||
@@ -70,7 +70,7 @@ describe('memoize', (): void => {
|
||||
});
|
||||
|
||||
it('normalizes BigInt values as well', (): void => {
|
||||
const fn = memoize((a: BigInt, b: BigInt) => BigInt(a) + BigInt(b));
|
||||
const fn = memoize((a: bigint, b: bigint) => a + b);
|
||||
|
||||
expect(fn(1n, 2n).toString()).toEqual('3');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user