Skip to content

Commit

Permalink
Signature fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Apr 30, 2024
1 parent d91e0d8 commit 56b1a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/BaseEntityService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ export default abstract class BaseEntityService extends HttpSession {
}

public save<T extends IClrEntity>(body: T, cloner?: (c: Cloner<T>) => Cloner<T>): Promise<T>;
public save<T extends IClrEntity>(body: T[]): Promise<T[]>;
public save<T extends IClrEntity>(body: T[], cloner?: (c: Cloner<T>) => Cloner<T>): Promise<T[]>;
public async save(body: any, cloner?: (c: Cloner<any>) => Cloner<any>): Promise<any> {
if (Array.isArray(body) && body.length === 0) {
return body;
Expand Down

0 comments on commit 56b1a26

Please sign in to comment.