fix(core): suppress a Closure Compiler warning (#14484)
This commit is contained in:
parent
269cf42b72
commit
2f2b65bd38
|
@ -221,6 +221,7 @@ function applyParams(fnOrArray: (Function | any[]), key: string): Function {
|
||||||
* }
|
* }
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
|
* @suppress {globalThis}
|
||||||
* @stable
|
* @stable
|
||||||
*/
|
*/
|
||||||
export function Class(clsDef: ClassDefinition): Type<any> {
|
export function Class(clsDef: ClassDefinition): Type<any> {
|
||||||
|
@ -257,6 +258,9 @@ export function Class(clsDef: ClassDefinition): Type<any> {
|
||||||
return <Type<any>>constructor;
|
return <Type<any>>constructor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @suppress {globalThis}
|
||||||
|
*/
|
||||||
export function makeDecorator(
|
export function makeDecorator(
|
||||||
name: string, props: {[name: string]: any}, parentClass?: any,
|
name: string, props: {[name: string]: any}, parentClass?: any,
|
||||||
chainFn: (fn: Function) => void = null): (...args: any[]) => (cls: any) => any {
|
chainFn: (fn: Function) => void = null): (...args: any[]) => (cls: any) => any {
|
||||||
|
|
Loading…
Reference in New Issue