refactor(ivy): add TView and TContainer (#21463)

PR Close #21463
This commit is contained in:
Kara Erickson
2018-01-10 18:19:16 -08:00
committed by Alex Eagle
parent 3bcc0e6f76
commit efe545a878
11 changed files with 128 additions and 108 deletions

View File

@ -14,7 +14,7 @@ import {resolveRendererType2} from '../../view/util';
* Definition of what a template rendering function should look like.
*/
export type ComponentTemplate<T> = {
(ctx: T, creationMode: boolean): void; ngStaticData?: never;
(ctx: T, creationMode: boolean): void; ngPrivateData?: never;
};
export type EmbeddedTemplate<T> = (ctx: T) => void;