mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
38c673d057
React review panel entry positioning GitOrigin-RevId: c22617b1d3243b7d54b093426358aeb291421b9e
7 lines
232 B
TypeScript
7 lines
232 B
TypeScript
type DebugConsole = { log(...data: any[]): void }
|
|
|
|
export const debugging =
|
|
new URLSearchParams(window.location.search).get('debug') === 'true'
|
|
export const debugConsole: DebugConsole = debugging
|
|
? console
|
|
: { log: () => {} }
|