Skip to content

Commit

Permalink
feat(core): add type for Constructable args (#2783)
Browse files Browse the repository at this point in the history
  • Loading branch information
griest024 committed May 13, 2024
1 parent 3fe7c8c commit ba11f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/core/src/constructable/constructable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
*
* ```
*/
export type Constructable<T> = new(...args: any[]) => T;
export type Constructable<T, Args extends Array<unknown> = Array<unknown>> = new(...args: Args) => T;

0 comments on commit ba11f43

Please sign in to comment.