Skip to content

Commit

Permalink
Merge pull request #8 from LastTalon/fix-anysystem
Browse files Browse the repository at this point in the history
Turn AnySystem type into an union instead of an intersection type
  • Loading branch information
Ukendio authored Jan 12, 2023
2 parents 598bd7a + eb7598a commit 58a2e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Loop.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type SystemStruct<T extends Array<unknown>> = {

export type System<T extends Array<unknown>> = SystemFn<T> | SystemStruct<T>;

export type AnySystem = SystemFn<Array<unknown>> & SystemStruct<Array<unknown>>;
export type AnySystem = System<unknown[]>;
/**
* @class Loop
*
Expand Down

0 comments on commit 58a2e9f

Please sign in to comment.