fix(core): suppress a Closure Compiler warning (#14484)

This commit is contained in:
Alex Eagle 2017-02-14 14:44:16 -08:00 committed by Igor Minar
parent 269cf42b72
commit 2f2b65bd38
1 changed files with 4 additions and 0 deletions

View File

@ -221,6 +221,7 @@ function applyParams(fnOrArray: (Function | any[]), key: string): Function {
* }
* });
* ```
* @suppress {globalThis}
* @stable
*/
export function Class(clsDef: ClassDefinition): Type<any> {
@ -257,6 +258,9 @@ export function Class(clsDef: ClassDefinition): Type<any> {
return <Type<any>>constructor;
}
/**
* @suppress {globalThis}
*/
export function makeDecorator(
name: string, props: {[name: string]: any}, parentClass?: any,
chainFn: (fn: Function) => void = null): (...args: any[]) => (cls: any) => any {