From 3b7ca6f97329a06aa273e64dc889b3f540d2e389 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Thu, 7 Apr 2022 10:23:53 +0000 Subject: [PATCH] fix(typing): Fix typing API in CaptureConsle --- packages/integrations/src/captureconsole.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/integrations/src/captureconsole.ts b/packages/integrations/src/captureconsole.ts index b66459c9a4ae..7224df50f286 100644 --- a/packages/integrations/src/captureconsole.ts +++ b/packages/integrations/src/captureconsole.ts @@ -18,12 +18,12 @@ export class CaptureConsole implements Integration { /** * @inheritDoc */ - private readonly _levels: typeof CONSOLE_LEVELS = CONSOLE_LEVELS; + private readonly _levels: readonly string[] = CONSOLE_LEVELS; /** * @inheritDoc */ - public constructor(options: { levels?: typeof CONSOLE_LEVELS } = {}) { + public constructor(options: { levels?: string[] } = {}) { if (options.levels) { this._levels = options.levels; }