TypeScript/tests/baselines/reference/typecheckIfCondition.js

17 lines
432 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [typecheckIfCondition.ts]
// 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
}
//// [typecheckIfCondition.js]
// both uses of module should be an undefined symbol
2014-07-13 01:04:16 +02:00
function myWrapper() {
if (!module.exports)
module.exports = "";
var x = null; // don't want to baseline output
2014-07-13 01:04:16 +02:00
}