Type ‘() => void’ is not assignable to type ‘() => {}’
In your definition private _noop: () => {}; _noop is typed as a function returning an object. When you assign it as this._noop = () => { }; the function you are trying to assign to _noop is of type () => void. If you wanted _noop to be function returning nothing then type it … Read more