TypeScript/tests/cases/compiler/unusedLocalsStartingWithUnderscore.ts
2016-10-21 14:47:41 -07:00

13 lines
174 B
TypeScript

//@noUnusedLocals:true
for (const _ of []) { }
for (const _ in []) { }
namespace M {
let _;
for (const _ of []) { }
for (const _ in []) { }
}