You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```typescriptconst array = [1, 2, 3].reduce<number[]>((acc, next) => [...acc, next], []);
// ~~~~~~~~// Type of the initial value, in our case making it an array of numbers.```
Doing so will make the formatter bail and the comment below won't be recognized as a comment:
However when removing the arrowhead of the lambda it works as expected:
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered:
@mjbvz Alright, thanks for pointing me in the right direction. On a slightly different "off"topic, I stumbled upon highlightjs myself yesterday since I am moving from Markdown to Asciidoc and noticed their Typescript highlighting isn't too advanced yet (only keywords, built ins, strings and numbers are highlighted, no members, function invocations, parameters or 3rd party types) in comparison to Githubs Markdown highlighting. Let's see whether I can contribute there to improve upon that a bit.
Steps to Reproduce:
Doing so will make the formatter bail and the comment below won't be recognized as a comment:
However when removing the arrowhead of the lambda it works as expected:
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: