From 37f17993adc07e8abd9ff3302a4dd14c82f32fa1 Mon Sep 17 00:00:00 2001 From: derevi Date: Thu, 5 Aug 2021 16:35:05 -0400 Subject: [PATCH] Fixed issue #386 added generic to function type declaration of updateIfCurrentPlugin --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index ef776bc..191c7a0 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1,6 +1,6 @@ import { Schema } from 'mongoose'; -export declare function updateIfCurrentPlugin(schema: Schema, options?: PluginOptions): void; +export declare function updateIfCurrentPlugin(schema: Schema, options?: PluginOptions): void; export declare interface PluginOptions { strategy?: 'version' | 'timestamp';