From 2f2b65bd38794372d2245621cb406ca9355a25da Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Tue, 14 Feb 2017 14:44:16 -0800 Subject: [PATCH] fix(core): suppress a Closure Compiler warning (#14484) --- modules/@angular/core/src/util/decorators.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/@angular/core/src/util/decorators.ts b/modules/@angular/core/src/util/decorators.ts index c8a36102fb..cfb24c9118 100644 --- a/modules/@angular/core/src/util/decorators.ts +++ b/modules/@angular/core/src/util/decorators.ts @@ -221,6 +221,7 @@ function applyParams(fnOrArray: (Function | any[]), key: string): Function { * } * }); * ``` + * @suppress {globalThis} * @stable */ export function Class(clsDef: ClassDefinition): Type { @@ -257,6 +258,9 @@ export function Class(clsDef: ClassDefinition): Type { return >constructor; } +/** + * @suppress {globalThis} + */ export function makeDecorator( name: string, props: {[name: string]: any}, parentClass?: any, chainFn: (fn: Function) => void = null): (...args: any[]) => (cls: any) => any {