You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(angular): use module source type and add fast path for TS stripping
- Use SourceType::ts().with_module(true) instead of script-mode ts()
so import.meta and ESM-only syntax parse correctly in RawSource
fallback expressions.
- Add fast path: try parsing as .mjs first. If the expression is
already valid JavaScript (no type annotations), return it as-is
without running the heavier semantic→transform→codegen pipeline.
Only expressions with actual TypeScript syntax pay the full cost.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments