chore(deps): update dependency typescript to ~4.5.0 (#14018)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
This commit is contained in:
parent
029cd15bd9
commit
ecae53a98e
@ -73,7 +73,7 @@
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"test262-stream": "^1.4.0",
|
||||
"through2": "^4.0.0",
|
||||
"typescript": "~4.2.3"
|
||||
"typescript": "~4.5.0"
|
||||
},
|
||||
"workspaces": [
|
||||
"codemods/*",
|
||||
|
||||
@ -395,7 +395,6 @@ export function assertSimpleType(value: unknown): SimpleType {
|
||||
"Cache keys must be either string, boolean, number, null, or undefined.",
|
||||
);
|
||||
}
|
||||
// @ts-expect-error todo(flow->ts) value is still typed as unknown, also assert function typically should not return a value
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
@ -160,6 +160,7 @@ export function transform(
|
||||
}
|
||||
|
||||
node.arguments.unshift(t.cloneNode(context));
|
||||
// @ts-expect-error node.callee can not be an V8IntrinsicIdentifier: V8 intrinsic is disallowed in optional chain
|
||||
node.callee = t.memberExpression(node.callee, t.identifier("call"));
|
||||
}
|
||||
}
|
||||
|
||||
18
yarn.lock
18
yarn.lock
@ -5817,7 +5817,7 @@ __metadata:
|
||||
rollup-plugin-terser: ^7.0.2
|
||||
test262-stream: ^1.4.0
|
||||
through2: ^4.0.0
|
||||
typescript: ~4.2.3
|
||||
typescript: ~4.5.0
|
||||
dependenciesMeta:
|
||||
core-js:
|
||||
built: false
|
||||
@ -14900,23 +14900,23 @@ fsevents@^1.2.7:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@~4.2.3#~builtin<compat/typescript>":
|
||||
version: 4.2.3
|
||||
resolution: "typescript@patch:typescript@npm%3A4.2.3#~builtin<compat/typescript>::version=4.2.3&hash=ddd1e8"
|
||||
"typescript@npm:~4.5.0":
|
||||
version: 4.5.2
|
||||
resolution: "typescript@npm:4.5.2"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: f97b1f885444f13c340127a0918b17d0c4e5c248f99203a22712b3b43d7129c9c7b95437e4f1de99edf79d3046fa9e15356fb5d27d9d94e47a98158c8b18fda5
|
||||
checksum: 74f9ce65d532bdf5d0214b3f60cf37992180023388c87a11ee6f838a803067ef0b63c600fa501b0deb07f989257dce1e244c9635ed79feca40bbccf6e0aa1ebc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
typescript@~4.2.3:
|
||||
version: 4.2.3
|
||||
resolution: "typescript@npm:4.2.3"
|
||||
"typescript@patch:typescript@~4.5.0#~builtin<compat/typescript>":
|
||||
version: 4.5.2
|
||||
resolution: "typescript@patch:typescript@npm%3A4.5.2#~builtin<compat/typescript>::version=4.5.2&hash=ddd1e8"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: b4a2020c021211184ac15caf59936b2089c13e79685f340a31aaa839c9de2f73b44a5e3757292de6cdad2ed967aef80d4592161b814cc29c0570f261850c4bca
|
||||
checksum: 24a439e062a05e3285a4f0e8a40644116ecdca89f3e908bed01e5a01b9aee747e3bcf0e85fe9e017e5ebf0c0863437c39479f2616f55a244c2d82d37022cdc4f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user