mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
f795d69ce0
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
2 lines
36 B
TypeScript
2 lines
36 B
TypeScript
function foo(readonly parameter) {}
|