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
{{ message }}
Repository navigation
Parser rejects definite assignment assertions on private instance fields #3645
TypeScript 6.0.3 accepts this with --ignoreConfig --strict --target ES2022 --noEmit. SharpTS reports Expect ';' after private field declaration. with --no-tsconfig --strict --noEmit before type checking.
The private-field parser does not consume a definite assignment assertion. This prevents the valid instance-field form; the static private form should instead reach the checker's TS1255 grammar diagnostic.
Found while adding static definite assignment assertion regressions for #3635.
Activity