We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c72f369 commit cedd5eaCopy full SHA for cedd5ea
node_package/src/buildConsoleReplay.ts
@@ -12,9 +12,9 @@ declare global {
12
}
13
14
export function consoleReplay(customConsoleHistory: typeof console['history'] | undefined = undefined): string {
15
+ // console.history is a global polyfill used in server rendering.
16
const consoleHistory = customConsoleHistory ?? console.history;
17
- // console.history is a global polyfill used in server rendering.
18
// $FlowFixMe
19
if (!(Array.isArray(consoleHistory))) {
20
return '';
0 commit comments