wiki/scripts/list_t_errors.py
ValueOn AG 5fdb462528
Some checks failed
Deploy Nyla Frontend to Production / build-and-deploy (push) Failing after 1s
Sync: full codebase from GitHub wiki main
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-23 23:54:32 +02:00

17 lines
431 B
Python

import re
from pathlib import Path
text = Path(__file__).resolve().parent.parent / "tsc-out.txt"
content = text.read_text(encoding="utf-8")
files = sorted(
{
m.group(1)
for line in content.splitlines()
if "Cannot find name 't'" in line
for m in [re.match(r"^(src/[^\(:]+\.tsx)", line)]
if m
}
)
for f in files:
print(f)
print("TOTAL", len(files), file=__import__("sys").stderr)