diff options
Diffstat (limited to 'lib/event.model.ts')
-rw-r--r-- | lib/event.model.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/event.model.ts b/lib/event.model.ts index 7768ffc..1b6d324 100644 --- a/lib/event.model.ts +++ b/lib/event.model.ts @@ -5,7 +5,7 @@ import { LogDocument } from './log.schema'; import LogModel from './log.model'; export interface Event<Context> extends EventDocument<Context> { - log(message: string): void; + log(message: string): Promise<LogDocument>; start(): void; complete(): void; fail(error: Error | string): void; |