From 8c24042d6367b119e8ede6811136b156fe478593 Mon Sep 17 00:00:00 2001 From: mertmit Date: Wed, 28 Feb 2024 13:42:03 +0000 Subject: [PATCH] fix: remaining nest-cli issues --- .../src/modules/jobs/fallback/fallback-queue.service.ts | 6 +++--- packages/nocodb/tsconfig.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/nocodb/src/modules/jobs/fallback/fallback-queue.service.ts b/packages/nocodb/src/modules/jobs/fallback/fallback-queue.service.ts index 6ffd6fe796..49a52c8ad2 100644 --- a/packages/nocodb/src/modules/jobs/fallback/fallback-queue.service.ts +++ b/packages/nocodb/src/modules/jobs/fallback/fallback-queue.service.ts @@ -22,7 +22,7 @@ export class QueueService { static queueIdCounter = 1; static processed = 0; static queueMemory: Job[] = []; - static emitter = new Emittery(); + static _emitter: Emittery = new Emittery(); constructor( protected readonly jobsEventService: JobsEventService, @@ -103,8 +103,8 @@ export class QueueService { } } - get emitter() { - return QueueService.emitter; + get emitter(): Emittery { + return QueueService._emitter; } get queue() { diff --git a/packages/nocodb/tsconfig.json b/packages/nocodb/tsconfig.json index a2a18e8345..82070541ff 100644 --- a/packages/nocodb/tsconfig.json +++ b/packages/nocodb/tsconfig.json @@ -42,5 +42,5 @@ ] }, "include": ["src/**/*"], - "exclude": ["src/ee"], + "exclude": ["src/ee", "src/ee-on-prem"], }