Skip to content

Commit

Permalink
fix(classes): widen Constructible type
Browse files Browse the repository at this point in the history
fix #365
  • Loading branch information
nartc committed Oct 26, 2021
1 parent 3f369e0 commit a394e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/classes/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import type { Dictionary, TransformerMetadataFactory } from '@automapper/types';

export interface Constructible<TModel extends Dictionary<TModel> = any>
extends TransformerMetadataFactory<TModel> {
new (...args: unknown[]): TModel;
new (...args: any[]): TModel;
}

0 comments on commit a394e5c

Please sign in to comment.