Skip to content

Instantly share code, notes, and snippets.

View richi0's full-sized avatar

Seve richi0

  • Switzerland
View GitHub Profile
@richi0
richi0 / annotateErrors.py
Last active April 2, 2025 11:20
Annotate TS Code for Strict Mode
from pathlib import Path
import re
import os
ROOT = Path(__file__).parent.resolve()
ERRORS = ROOT / "errors.txt"
class TSErrror():
def __init__(self, file, line, message, id):