16 lines
432 B
TypeScript
16 lines
432 B
TypeScript
//// [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
|
|
}
|