Skip to content

Commit

Permalink
change type of initArgs to unknown[]
Browse files Browse the repository at this point in the history
  • Loading branch information
martinemmert committed Nov 24, 2020
1 parent a2792d2 commit 95b4a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ export interface IQueryConfig {

export declare class System {
get sysName(): string;
constructor(world: World, ...initArgs: any[]);
constructor(world: World, ...initArgs: unknown[]);
world: World;
changes: IComponentChange[];
queries: Query[];
lastTick: number;
static subscriptions: string[];
init(...initArgs: any[]): void;
init(...initArgs: unknown[]): void;
update(tick: number): void;
createQuery(init?: IQueryConfig): Query;
subscribe(type: string | ComponentClass): void;
Expand Down

0 comments on commit 95b4a7f

Please sign in to comment.