(ctx: WarnLayoutIssueContext, key: string, detail: string)
| 38 | } |
| 39 | |
| 40 | export 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 | |
| 47 | export function warnShortcutIssue( |
| 48 | ctx: WarnShortcutIssueContext, |
no test coverage detected