Update dependency oxc-parser to v0.141.0 (#19685)

Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
renovate[bot]andfisker authored and GitHub committed 2026-07-22 09:43:13 +08:00
1 parent 53334538ac
commit ea8167fcca
3 files changed
+98 -98

No files matched your search

@@ -629,13 +629,13 @@ Cause: Rest element must be last element. (9:35)"
`;
exports[`functionOverloadErrorsSyntax.ts format[oxc-ts] 1`] = `
"A rest parameter must be last in a parameter list (9:25)
7 |
8 | //Function overload signature with rest param followed by non-optional parameter
> 9 | function fn5(x: string, ...y: any[], z: string);
| ^^^^^^^^^^^
10 | function fn5() { }
11 |"
"A required parameter cannot follow an optional parameter. (2:27)
1 | //Function overload signature with optional parameter followed by non-optional parameter
> 2 | function fn4a(x?: number, y: string);
| ^^^^^^^^^
3 | function fn4a() { }
4 |
5 | function fn4b(n: string, x?: number, y: string);"
`;
exports[`functionOverloadErrorsSyntax.ts format[yuku-ts] 1`] = `