Skip to content

Commit

Permalink
Merge pull request #77 from fantasticsoul/master
Browse files Browse the repository at this point in the history
chore: fix type desc
  • Loading branch information
drawcall authored Oct 7, 2020
2 parents 5dcd915 + 493bd46 commit 368f38b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -1409,7 +1409,7 @@ declare namespace Proton {
* @description - Destroyes the given object
*/
function emptyObject<T extends AnyObj>(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<T extends AnyObj, U extends T>(
Expand Down

0 comments on commit 368f38b

Please sign in to comment.