Files
oxc-project__oxc/tasks/coverage/misc/fail/oxc-11713-23.ts
Ulrich Stark f795d69ce0 fix(parser): improve diagnostics around modifier checks (#13526)
Follow up to #13368.
Closes #11713 by fixing five more cases mentioned in
https://github.com/oxc-project/oxc/issues/11713#issuecomment-3239687597.

Other changes:
- Added TS(1024) diagnostic
- Fixed the broken oxc-11713-13.ts test file
- Made TS(1070) not report redundantly if it's actually the
responsibility of TS(1071)
- Branch off the more specific TS(1028) diagnostic from the general
TS(1030) diagnostic like TypeScript does
- Remove incorrect code to parse modifiers on typescript this parameter
2025-09-09 09:28:39 +08:00

4 lines
39 B
TypeScript

interface Foo {
readonly method();
}