Tested with v5.4.20240202 ("Last released 2024-02-03, 08:13:15")
Minimal repro:
export type foo = {
bar:
| string // comment breaks subsequent highlighting of type
| string;
};
The renders correctly on Github. In vscode, types for bar after the first // comment are broken. Image (taken with Codesnap extension):
The breakage isn't total. [ brackets ] still partially work. The brackets themselves render correctly, and null is coloured (incorrectly) within. I didn't dig into the details though.
Tested with
v5.4.20240202
("Last released 2024-02-03, 08:13:15")Minimal repro:
The renders correctly on Github. In vscode, types for
bar
after the first// comment
are broken. Image (taken with Codesnap extension):The breakage isn't total.
[
brackets]
still partially work. The brackets themselves render correctly, andnull
is coloured (incorrectly) within. I didn't dig into the details though.Thank you for a great extension!