diff options
Diffstat (limited to 'shared/models/plugins/server-hook.model.ts')
-rw-r--r-- | shared/models/plugins/server-hook.model.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/models/plugins/server-hook.model.ts b/shared/models/plugins/server-hook.model.ts index a7f88f3c4..6729e2dab 100644 --- a/shared/models/plugins/server-hook.model.ts +++ b/shared/models/plugins/server-hook.model.ts | |||
@@ -30,5 +30,5 @@ export type ServerActionHookName = | |||
30 | export type ServerHookName = ServerFilterHookName | ServerActionHookName | 30 | export type ServerHookName = ServerFilterHookName | ServerActionHookName |
31 | 31 | ||
32 | export interface ServerHook { | 32 | export interface ServerHook { |
33 | runHook (hookName: ServerHookName, params?: any) | 33 | runHook <T> (hookName: ServerHookName, result?: T, params?: any): Promise<T> |
34 | } | 34 | } |