16 lines
432 B
JavaScript
16 lines
432 B
JavaScript
//// [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
|
|
function myWrapper() {
|
|
if (!module.exports)
|
|
module.exports = "";
|
|
var x = null; // don't want to baseline output
|
|
}
|