TypeScript/tests/baselines/reference/catch.types

12 lines
252 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/catch.ts ===
function f() {
2015-04-13 23:01:57 +02:00
>f : () => void, Symbol(f, Decl(catch.ts, 0, 0))
2014-08-15 23:33:16 +02:00
try {} catch(e) { }
2015-04-13 23:01:57 +02:00
>e : any, Symbol(e, Decl(catch.ts, 1, 17))
2014-08-15 23:33:16 +02:00
try {} catch(e) { }
2015-04-13 23:01:57 +02:00
>e : any, Symbol(e, Decl(catch.ts, 2, 17))
2014-08-15 23:33:16 +02:00
}