From 56b1a266b69ac7429f8e64f89879f95326eabcd9 Mon Sep 17 00:00:00 2001 From: Akash Kava <39438041+ackava@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:56:55 +0530 Subject: [PATCH] Signature fixed --- src/services/BaseEntityService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/BaseEntityService.ts b/src/services/BaseEntityService.ts index 3a95e62..e2d3020 100644 --- a/src/services/BaseEntityService.ts +++ b/src/services/BaseEntityService.ts @@ -336,7 +336,7 @@ export default abstract class BaseEntityService extends HttpSession { } public save(body: T, cloner?: (c: Cloner) => Cloner): Promise; - public save(body: T[]): Promise; + public save(body: T[], cloner?: (c: Cloner) => Cloner): Promise; public async save(body: any, cloner?: (c: Cloner) => Cloner): Promise { if (Array.isArray(body) && body.length === 0) { return body;