ci: fix broken build do to bad merge (#24662)

PR Close #24662
This commit is contained in:
Miško Hevery 2018-06-25 11:54:23 -07:00 committed by Jason Aden
parent 3341a97154
commit ae01c70bba
2 changed files with 5 additions and 4 deletions

View File

@ -469,10 +469,8 @@ export interface Directive {
/**
* Type of the Component metadata.
*/
export const Directive: DirectiveDecorator = makeDecorator(
'Directive', (dir: Directive = {}) => dir, undefined, undefined,
(type: Type<any>, meta: Directive) => (R3_COMPILE_DIRECTIVE || (() => {}))(type, meta));
export const Directive: DirectiveDecorator =
makeDecorator('Directive', (dir: Directive = {}) => dir);
/**
* Component decorator interface
*

View File

@ -199,6 +199,9 @@ export interface NgModule {
}
/**
* Decorator that marks the following class as an NgModule, and supplies
* configuration metadata for it.
*
* @Annotation
*/
export const NgModule: NgModuleDecorator = makeDecorator(