Open
Description
The syntax does not accept type parameters if there is a space before <
.
This patch seems to solve the issue:
--- a/syntax/ts-common/type.vim
+++ b/syntax/ts-common/type.vim
@@ -26,7 +26,7 @@ syntax match typescriptGenericDefault /=/
" class A extend B<T> {} // ClassBlock
" func<T>() // FuncCallArg
syntax region typescriptTypeArguments matchgroup=typescriptTypeBrackets
- \ start=/\></ end=/>/
+ \ start=/</ end=/>/
\ contains=@typescriptType
\ nextgroup=typescriptFuncCallArg,@typescriptTypeOperator
\ contained skipwhite