swc/crates/swc_ecma_parser/tests/tsc/tryStatements.ts

19 lines
297 B
TypeScript

function fn() {
try { } catch { }
try { } catch {
try { } catch {
try { } catch { }
}
try { } catch { }
}
try { } catch (x) { var x: any; }
try { } finally { }
try { } catch { } finally { }
try { } catch (z) { } finally { }
}