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

7 lines
181 B
TypeScript

// both uses of module should be an undefined symbol
function myWrapper()
{
if (!module.exports) module.exports = "";
var x = null; // don't want to baseline output
}