Is there an angular.noop for Angular 6?
You could use noop
which is a helper function from Rxjs
for this:
import { noop } from 'rxjs';
...
// this does nothing.
noop();
I don't really think Angular has noop
This does nothing:
()=>{}
It's no more characters than noop() and doesn't need an import.