Skip to content

Instantly share code, notes, and snippets.

@chidumennamdi
Created August 22, 2018 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chidumennamdi/62cd71f0cba9a7eb03470904162c671d to your computer and use it in GitHub Desktop.
Save chidumennamdi/62cd71f0cba9a7eb03470904162c671d to your computer and use it in GitHub Desktop.
export abstract class ViewRef extends ChangeDetectorRef {
abstract destroy(): void;
abstract get destroyed(): boolean;
abstract onDestroy(callback: Function): any
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment