5 lines
184 B
TypeScript
5 lines
184 B
TypeScript
export type Constructor<T> = new (...args: any[]) => T;
|
|
export declare const MergeWithValues: <T extends Constructor<{}>>(data: {
|
|
[param: string]: any;
|
|
}) => (Metatype: T) => any;
|