MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / warnDev

Function warnDev

packages/core/src/widgets/codeEditorSyntax.ts:13–17  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

11const DEV_MODE = NODE_ENV !== "production";
12
13function warnDev(message: string): void {
14 if (!DEV_MODE) return;
15 const c = (globalThis as { console?: { warn?: (msg: string) => void } }).console;
16 c?.warn?.(message);
17}
18
19type CanonicalLanguage =
20 | "plain"

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected