mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
461 B
Plaintext
18 lines
461 B
Plaintext
unreachableFlowAfterThrowingForHead1.ts(11,2): error TS2304: Cannot find name 'as'.
|
|
|
|
|
|
==== unreachableFlowAfterThrowingForHead1.ts (1 errors) ====
|
|
try {
|
|
for (
|
|
(function () { throw "1"; })();
|
|
(function* () { throw "2"; })();
|
|
(function* () { throw "3"; })()
|
|
) {
|
|
console.log("1");
|
|
}
|
|
}
|
|
catch (e) { }
|
|
as ;
|
|
~~
|
|
!!! error TS2304: Cannot find name 'as'.
|
|
|