docs(core): describe your change... (#34513)
According to https://angular.io/guide/lifecycle-hooks#ondestroy "Put cleanup logic in ngOnDestroy(), the logic that must run before Angular destroys the directive." PR Close #34513
This commit is contained in:
parent
6f68eae9dd
commit
8fbb966ca7
|
@ -116,7 +116,7 @@ export interface DoCheck {
|
||||||
export interface OnDestroy {
|
export interface OnDestroy {
|
||||||
/**
|
/**
|
||||||
* A callback method that performs custom clean-up, invoked immediately
|
* A callback method that performs custom clean-up, invoked immediately
|
||||||
* after a directive, pipe, or service instance is destroyed.
|
* before a directive, pipe, or service instance is destroyed.
|
||||||
*/
|
*/
|
||||||
ngOnDestroy(): void;
|
ngOnDestroy(): void;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue