fix(limits): type discovered limit reads as path and lifecycle

This commit is contained in:
Cursor Agent authored and morluto committed 2026-11-11 19:39:06 +08:00
1 parent a24e0156fe
commit 3f0c77c1f5
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ export function isNumericLimit(name: string): boolean;
/** Producer paths for numeric limits. Registry text, comments, and allowlists are omitted. */
export function discoverNumericLimitUses(
files: readonly { readonly path: string; readonly source: string }[],
): Map<string, string>;
): Map<string, { readonly path: string; read: "construction" | "call" }>;
/** Why a tracked limit is not an analysis setting, when it is present. */
export function requiredRuntimeLimitFailure(