Skip to content

Commit

Permalink
fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
jleeson committed Oct 8, 2024
1 parent 3a0e1f8 commit 0d05d5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/firefly/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand All @@ -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<mongoose.Schema> { }
export class Model extends mongoose.Model { }

Expand Down

0 comments on commit 0d05d5d

Please sign in to comment.