"Missing Type definition" See : https://github.com/palantir/tslint/blob/master/src/rules/typedefRule.ts for details. Basically some annotation (for a function because callSignature
) is missing.
Probably the fix (specify the return type explicitly) :
networkStop = (action: string = null):void => {
this.action[action] = false;
this.net = false;
this.netd = false;
}
To avoid the build error. in the tslint.json file write code like:-
"typedef": [
false,
"call-signature"
],
This line of code in tslint.json does not make the return type of method required.
In my case the resolve is adding of comment
// tslint:disable-next-line:typedef
before the line of error
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With