From 4aa8baca9ceadee38b8157c49271bf901803b18e Mon Sep 17 00:00:00 2001 From: vinassefranche Date: Mon, 10 Jul 2023 13:52:35 +0200 Subject: [PATCH] fix(typing): add missing expressParentApp to LianaOptions types --- types/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index e775b68a..f0426eb6 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,4 +1,4 @@ -import { Application, NextFunction, Request, RequestHandler, Response } from 'express'; +import { Application, NextFunction, Request, RequestHandler, Response, Router } from 'express'; import * as Sequelize from 'sequelize'; // Everything related to Forest initialization @@ -12,6 +12,7 @@ export interface LianaOptions { excludedModels?: string[]; configDir?: string; schemaDir?: string; + expressParentApp?: Router; } export function init(options: LianaOptions): Promise;