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

Function warnLayoutIssue

packages/core/src/app/widgetRenderer/devWarnings.ts:40–45  ·  view source on GitHub ↗
(ctx: WarnLayoutIssueContext, key: string, detail: string)

Source from the content-addressed store, hash-verified

38}
39
40export function warnLayoutIssue(ctx: WarnLayoutIssueContext, key: string, detail: string): void {
41 if (!ctx.devMode) return;
42 if (ctx.warnedLayoutIssues.has(key)) return;
43 ctx.warnedLayoutIssues.add(key);
44 ctx.warn(`[rezi][layout] ${detail}`);
45}
46
47export function warnShortcutIssue(
48 ctx: WarnShortcutIssueContext,

Callers 1

emitDevLayoutWarningsFunction · 0.85

Calls 2

hasMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected