diff options
Diffstat (limited to 'lib/model.ts')
-rw-r--r-- | lib/model.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/model.ts b/lib/model.ts index 218b8ef..f93928e 100644 --- a/lib/model.ts +++ b/lib/model.ts @@ -17,7 +17,7 @@ export interface EventModel<Context> extends Model<Event<Context>> { const CronJob = cron.CronJob; -const createEventModel = <Context extends Schema>(name: string, contextSchema: Context): EventModel<Context> => { +const createEventModel = <Context>(name: string, contextSchema: Schema): EventModel<Context> => { const schema = createEventSchema(contextSchema); // Schema methods |