mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
deps: update typescript to v4.1.6
This commit is contained in:
parent
ff8284f141
commit
816bb35788
5 changed files with 19 additions and 11 deletions
|
|
@ -85,7 +85,7 @@
|
|||
"node-sass": "4.14.1",
|
||||
"prettier": "2.1.2",
|
||||
"ts-protoc-gen": "0.12.0",
|
||||
"typescript": "4.0.5"
|
||||
"typescript": "4.1.6"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app",
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ export default class AccountStore {
|
|||
});
|
||||
// remove any accounts in state that are not in the API response
|
||||
const serverIds = accountsList.map(a => hex(a.traderKey));
|
||||
const localIds = keys(this.accounts);
|
||||
const localIds = keys(this.accounts).map(key => String(key));
|
||||
localIds
|
||||
.filter(id => !serverIds.includes(id))
|
||||
.forEach(id => this.accounts.delete(id));
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ export default class OrderStore {
|
|||
});
|
||||
// remove any leases in state that are not in the API response
|
||||
const serverIds = leasesList.map(a => Lease.channelPointToString(a.channelPoint));
|
||||
const localIds = keys(this.leases);
|
||||
const localIds = keys(this.leases).map(key => String(key));
|
||||
localIds
|
||||
.filter(id => !serverIds.includes(id))
|
||||
.forEach(id => this.leases.delete(id));
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"esnext"
|
||||
],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"esModuleInterop": true,
|
||||
|
|
@ -16,9 +20,13 @@
|
|||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react",
|
||||
"jsx": "react-jsx",
|
||||
"baseUrl": "src"
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["src/types/generated/**"]
|
||||
"include": [
|
||||
"src"
|
||||
],
|
||||
"exclude": [
|
||||
"src/types/generated/**"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16310,10 +16310,10 @@ typedarray@^0.0.6:
|
|||
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
|
||||
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
|
||||
|
||||
typescript@4.0.5:
|
||||
version "4.0.5"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.5.tgz#ae9dddfd1069f1cb5beb3ef3b2170dd7c1332389"
|
||||
integrity sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==
|
||||
typescript@4.1.6:
|
||||
version "4.1.6"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.6.tgz#1becd85d77567c3c741172339e93ce2e69932138"
|
||||
integrity sha512-pxnwLxeb/Z5SP80JDRzVjh58KsM6jZHRAOtTpS7sXLS4ogXNKC9ANxHHZqLLeVHZN35jCtI4JdmLLbLiC1kBow==
|
||||
|
||||
unbox-primitive@^1.0.1:
|
||||
version "1.0.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue