Description
It's really hard to describe for me, so here are pictures:
Without typing resolve
argument (proper highlight):
Syntax groups at the const validationResult....
:
['typescriptClassBlock', 'typescriptBlock', 'typescriptFuncCallArg', 'typescriptBlock', 'typescriptVariable']
With typing the resolve
as a function (broken highlight after void
):
Syntax groups at the const validationResult....
:
['typescriptClassBlock', 'typescriptBlock', 'typescriptFuncCallArg', 'typescriptObjectLiteral', 'typescriptObjectL abel']
The typescriptBlock seems to break after void) => {
and it starts to thinks it's a object literal. I would fix this, but I'm not sure where to look.
EDIT: It's the second arrow (=>
) which breaks, it looses typescriptArrowFuncDef
for some reason... the space right before it still has it