/** * OnInit interface provides a hook on attending the class-based view. */ export interface OnInit { /** * OnInit function is triggered when the view route is attended. */ onInit(): any | Promise; }