I have TypeScript code like this in my Visual Studio project
if (_.isNull(user)) {
}
And while saving TSLint gives me
Message TsLint: function invocation disallowed: _.isNull BaseCtrl.ts 127
I do have TypeScript definitions for Underscore.js in my project.
What does this message mean and how can I fix my code to make TSLint happy or disable this message in my project settings tslint.json?
source
share