From e08ab47d5d6d3955e8b833ddefe936f5a715d358 Mon Sep 17 00:00:00 2001 From: fancyzhong Date: Tue, 6 Oct 2020 13:10:29 +0800 Subject: [PATCH] chore: fix type desc --- src/types.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.d.ts b/src/types.d.ts index 4a4db51..dd59761 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -245,7 +245,7 @@ declare class Proton extends Ease { * see https://www.typescriptlang.org/docs/handbook/declaration-files/deep-dive.html */ declare namespace Proton { - const getSpan: (a, b, center) => typeof Span; + const getSpan: (a: any, b: any, center: any) => typeof Span; const createArraySpan: typeof ArraySpan.createArraySpan; @@ -1409,7 +1409,7 @@ declare namespace Proton { * @description - Destroyes the given object */ function emptyObject(input: T, ignore?: string[]): void; - function classApply(constructor: Function, args?: any[]); + function classApply(constructor: Function, args?: any[]): any; function setVectorVal(particle: Particle, conf?: VectorValConf): void; function hasProp(target: any, key: string): boolean; function setProp(