I have a function in my code:
networkStop = (action: string = null) => { 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.