Uh oh!
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
module.exports should not yield a This condition will always return true since this function is always defined error #48166
Given a js file with
we should not issue
error TS2774: This condition will always return true since this function is always defined. Did you mean to call it instead?on themodule.exportscheck - it's an environment check and may very well beundefinedin non-node environments and is totally valid.