source: trip-planner-front/node_modules/@angular/compiler/src/lifecycle_reflector.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 753 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { CompileReflector } from './compile_reflector';
9export declare enum LifecycleHooks {
10 OnInit = 0,
11 OnDestroy = 1,
12 DoCheck = 2,
13 OnChanges = 3,
14 AfterContentInit = 4,
15 AfterContentChecked = 5,
16 AfterViewInit = 6,
17 AfterViewChecked = 7
18}
19export declare const LIFECYCLE_HOOKS_VALUES: LifecycleHooks[];
20export declare function hasLifecycleHook(reflector: CompileReflector, hook: LifecycleHooks, token: any): boolean;
21export declare function getAllLifecycleHooks(reflector: CompileReflector, token: any): LifecycleHooks[];
Note: See TracBrowser for help on using the repository browser.