Skip to content

Commit d1de6d9

Browse files
CopilotSerVitasik
andcommitted
fix: type tr as ITranslateFunction instead of Function in action and bulkHandler
Agent-Logs-Url: https://github.com/devforth/adminforth/sessions/41b96a31-4d78-4d16-b2fb-8b9727b5b720 Co-authored-by: SerVitasik <87546293+SerVitasik@users.noreply.github.com>
1 parent 3a43a79 commit d1de6d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adminforth/types/Back.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,7 @@ export interface AdminForthActionInput {
13121312
adminUser: AdminUser;
13131313
response: IAdminForthHttpResponse;
13141314
extra?: HttpExtra;
1315-
tr: Function;
1315+
tr: ITranslateFunction;
13161316
}) => Promise<{
13171317
ok: boolean;
13181318
error?: string;
@@ -1325,7 +1325,7 @@ export interface AdminForthActionInput {
13251325
adminUser: AdminUser;
13261326
response: IAdminForthHttpResponse;
13271327
extra?: HttpExtra;
1328-
tr: Function;
1328+
tr: ITranslateFunction;
13291329
}) => Promise<{
13301330
ok: boolean;
13311331
error?: string;

0 commit comments

Comments
 (0)