Uses ts.createProgram to parse real AST instead of regex + brace-depth state machine. Immune to comments, strings, and complex type syntax. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Uses ts.createProgram to parse real AST instead of regex + brace-depth state machine. Immune to comments, strings, and complex type syntax. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>