Skip to content

Commit 5431937

Browse files
author
Luca Forstner
authored
fix(typing): Fix typing API in CaptureConsle (#4879)
1 parent 51bffb3 commit 5431937

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/integrations/src/captureconsole.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ export class CaptureConsole implements Integration {
1818
/**
1919
* @inheritDoc
2020
*/
21-
private readonly _levels: typeof CONSOLE_LEVELS = CONSOLE_LEVELS;
21+
private readonly _levels: readonly string[] = CONSOLE_LEVELS;
2222

2323
/**
2424
* @inheritDoc
2525
*/
26-
public constructor(options: { levels?: typeof CONSOLE_LEVELS } = {}) {
26+
public constructor(options: { levels?: string[] } = {}) {
2727
if (options.levels) {
2828
this._levels = options.levels;
2929
}

0 commit comments

Comments
 (0)