diff --git a/src/plugins/console/replay/index.ts b/src/plugins/console/replay/index.ts index d54c5e11..8b68e72f 100644 --- a/src/plugins/console/replay/index.ts +++ b/src/plugins/console/replay/index.ts @@ -108,9 +108,9 @@ class LogReplayPlugin { } } -export const getLogReplayPlugin: (options?: LogReplayConfig) => ReplayPlugin = ( - options, -) => { +export const getReplayConsolePlugin: ( + options?: LogReplayConfig, +) => ReplayPlugin = (options) => { const replayLogger = options?.replayLogger || new LogReplayPlugin(options).getConsoleLogger(); diff --git a/typings/plugins/console/replay/index.d.ts b/typings/plugins/console/replay/index.d.ts index 8d0fc9c0..4f2bb815 100644 --- a/typings/plugins/console/replay/index.d.ts +++ b/typings/plugins/console/replay/index.d.ts @@ -5,5 +5,5 @@ declare type LogReplayConfig = { level?: LogLevel[] | undefined; replayLogger: ReplayLogger | undefined; }; -export declare const getLogReplayPlugin: (options?: LogReplayConfig) => ReplayPlugin; +export declare const getReplayConsolePlugin: (options?: LogReplayConfig) => ReplayPlugin; export {};