UNPKG

467 BTypeScriptView Raw
1import { Injector, OnDestroy, OnInit } from '@angular/core';
2import { Controller } from './controller';
3export declare class Component<M, V, C extends Controller<M, V>> implements OnDestroy, OnInit {
4 model: M;
5 view: V;
6 controller: C;
7 private changeDetectorRef;
8 private subscriptions;
9 constructor(controller: C, injector: Injector);
10 ngOnInit(): void;
11 ngOnDestroy(): void;
12 private updateModel(model);
13 private updateView(view);
14}