TypeScript/tests/cases/compiler/implicitAnyInCatch.ts
2014-07-12 17:30:19 -07:00

15 lines
243 B
TypeScript

// @noimplicitany: true
// this should not be an error
try { } catch (error) {
if (error.number === -2147024809) { }
}
for (var key in this) { }
class C {
public temp() {
for (var x in this) {
}
}
}