mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
903a150bf8
### Changes - Added all 22 examples of #11713 to `tasks/coverage/misc/fail` - Added `Default` and `Export` to modifiers - Added three new TS diagnostics: 1029, 1031, and 1070 - Split off `FunctionKind::Constructor` from `FunctionKind::ClassMethod` to differentiate when verifying modifiers of formal parameter - Added multiple checks to verify modifiers ### Results - "Negative Passed" percentage of `parser_babel.snap` and `parser_typescript.snap` increased - Better diagnostic messages in both snapshots - All new failing examples of original issue do really fail - Closes #11713 --------- Co-authored-by: Boshen <boshenc@gmail.com>
4 lines
35 B
TypeScript
4 lines
35 B
TypeScript
interface Foo {
|
|
async method();
|
|
}
|