From b5ace0714f2b97124969c51baeaeb192434225c5 Mon Sep 17 00:00:00 2001 From: Alexis <11615615+AlexisAnzieu@users.noreply.github.com> Date: Fri, 24 Nov 2023 11:22:27 -0500 Subject: [PATCH] Update QueueAdapterOptions typing (#652) * Update QueueAdapterOptions in order to modify one attribute only * add partial --- packages/nestjs/src/bull-board.types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nestjs/src/bull-board.types.ts b/packages/nestjs/src/bull-board.types.ts index 308679dd..9b783e7d 100644 --- a/packages/nestjs/src/bull-board.types.ts +++ b/packages/nestjs/src/bull-board.types.ts @@ -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): BaseAdapter }, + options?: Partial, }; //create our own types with the needed functions, so we don't need to include express/fastify libraries here.