From d2a24932b54b5761fd30c7f5e735e6fa502f12d6 Mon Sep 17 00:00:00 2001 From: Kyle Coberly Date: Sun, 6 Nov 2022 00:22:40 -0600 Subject: [PATCH] Add discriminators to MongooseServiceOptions type --- types/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/index.d.ts b/types/index.d.ts index f7180fc..30e1ece 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -20,6 +20,7 @@ export interface MongooseServiceOptions extends Servic useEstimatedDocumentCount: boolean; queryModifier?: (query: Query, params: Params) => void; queryModifierKey?: string; + discriminators?: Model[]; } export class Service extends AdapterService implements InternalServiceMethods {