parent
3341a97154
commit
ae01c70bba
@ -469,10 +469,8 @@ export interface Directive {
|
|||||||
/**
|
/**
|
||||||
* Type of the Component metadata.
|
* Type of the Component metadata.
|
||||||
*/
|
*/
|
||||||
export const Directive: DirectiveDecorator = makeDecorator(
|
export const Directive: DirectiveDecorator =
|
||||||
'Directive', (dir: Directive = {}) => dir, undefined, undefined,
|
makeDecorator('Directive', (dir: Directive = {}) => dir);
|
||||||
(type: Type<any>, meta: Directive) => (R3_COMPILE_DIRECTIVE || (() => {}))(type, meta));
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component decorator interface
|
* Component decorator interface
|
||||||
*
|
*
|
||||||
|
@ -199,6 +199,9 @@ export interface NgModule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Decorator that marks the following class as an NgModule, and supplies
|
||||||
|
* configuration metadata for it.
|
||||||
|
*
|
||||||
* @Annotation
|
* @Annotation
|
||||||
*/
|
*/
|
||||||
export const NgModule: NgModuleDecorator = makeDecorator(
|
export const NgModule: NgModuleDecorator = makeDecorator(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user