From 6f52408e7bf79730df9eb7b487dcacf468e409e1 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 2 Dec 2020 04:10:15 +0300 Subject: test: Event model --- lib/event.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/event.model.ts') 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 extends EventDocument { - log(message: string): void; + log(message: string): Promise; start(): void; complete(): void; fail(error: Error | string): void; -- cgit v1.2.3