fix(typecheck): assert m[1] non-null for noUncheckedIndexedAccess

This commit is contained in:
detail-app[bot]
2026-09-07 17:13:41 +00:00
parent 28e5ee0df5
commit a2059c9fd7
@@ -41,7 +41,7 @@ function collectEndpointPaths(distDirs: string[]): string[] {
const content = readFileSync(full, "utf8");
let m: RegExpExecArray | null = re.exec(content);
while (m !== null) {
paths.add(m[1]);
paths.add(m[1]!);
m = re.exec(content);
}
}