Open ilibar-zpt opened 2 years ago
Does this issue occur when all extensions are disabled?: Yes
Syntax highlighting breaks on arrow functions with return type being multiline tuple, works fine on function declarations.
Steps to Reproduce:
const foo = ({ a, b }: any): [ el1: number, el2: string, ] => { a b return [1, '2'] }
Expected highlight:
Actual highlight:
Does this issue occur when all extensions are disabled?: Yes
Syntax highlighting breaks on arrow functions with return type being multiline tuple, works fine on function declarations.
Steps to Reproduce:
Expected highlight:![Screenshot from 2022-05-05 13-52-26](https://user-images.githubusercontent.com/89970734/166917751-011ba1f8-5d6e-41fe-8646-ae835a6e1d57.png)
Actual highlight:![Screenshot from 2022-05-05 13-52-53](https://user-images.githubusercontent.com/89970734/166917775-b1fe2017-803b-4bdb-8fd1-646026165bdf.png)