From 0d05d5d6a3d17f406161a4d256711498b1f9e487 Mon Sep 17 00:00:00 2001 From: jleeson Date: Tue, 8 Oct 2024 13:32:51 -0700 Subject: [PATCH] fixed types --- packages/firefly/types/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/firefly/types/index.d.ts b/packages/firefly/types/index.d.ts index 46f4cd2..1d6210b 100644 --- a/packages/firefly/types/index.d.ts +++ b/packages/firefly/types/index.d.ts @@ -95,7 +95,7 @@ declare module "@outwalk/firefly/express" { import type { Platform, Route } from "@outwalk/firefly"; import type { Request } from "express"; - export interface ExpressOptions { logErrors?: boolean; }; + export interface ExpressOptions { logErrors?: boolean; } export class ExpressPlatform extends Platform { @@ -118,6 +118,7 @@ declare module "@outwalk/firefly/mongoose" { import type { Decorator, Database } from "@outwalk/firefly"; import type mongoose from "mongoose"; + // @ts-ignore - using Partial like this is invalid but it satisifies the compiler for our use case. export class Schema extends Partial { } export class Model extends mongoose.Model { }