Skip to content

Commit

Permalink
Update QueueAdapterOptions typing (#652)
Browse files Browse the repository at this point in the history
* Update QueueAdapterOptions 

in order to modify one attribute only

* add partial
  • Loading branch information
AlexisAnzieu authored Nov 24, 2023
1 parent 37a618f commit b5ace07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nestjs/src/bull-board.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export type BullBoardModuleOptions = {

export type BullBoardQueueOptions = {
name: string;
adapter: { new(queue: any, options?: QueueAdapterOptions): BaseAdapter },
options?: QueueAdapterOptions,
adapter: { new(queue: any, options?: Partial<QueueAdapterOptions>): BaseAdapter },
options?: Partial<QueueAdapterOptions>,
};

//create our own types with the needed functions, so we don't need to include express/fastify libraries here.
Expand Down

0 comments on commit b5ace07

Please sign in to comment.