Update dependency oxc-parser to v0.136.0 (#19360)

Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
renovate[bot]andfisker authored and GitHub committed 2026-06-16 02:23:54 +08:00
1 parent 5482b546a8
commit 3a45c9e8e2
4 files changed
+144 -101

No files matched your search

@@ -490,6 +490,17 @@ class _ {
================================================================================
`;
exports[`const.ts format[oxc-ts] 1`] = `
"'const' modifier can only appear on a type parameter of a function, method or class (22:13)
20 | (class <const in T> {});
21 |
> 22 | interface I<const T> {}
| ^^^^^^^
23 | interface J<const T extends U> {}
24 | interface K<T, const U> {}
25 | interface L<in const T> {}"
`;
exports[`constraints-and-default.ts format 1`] = `
====================================options=====================================
parsers: ["typescript"]
@@ -1 +1,5 @@
runFormatTest(import.meta, ["typescript"]);
runFormatTest(import.meta, ["typescript"], {
errors: {
"oxc-ts": ["const.ts"],
},
});