HerringtonDarkholme / yats.vim

Yet Another TypeScript Syntax: The most advanced TypeScript Syntax Highlighting in Vim
Vim License
647 stars 66 forks source link

Generic arrow functions not working correctly #239

Open phelipetls opened 3 years ago

phelipetls commented 3 years ago

This works correctly:

let a = <T>( a: T ) => {
}

But this does not:

let a = <T extends Record<string, any>>( a: T ) => {
}
phelipetls commented 3 years ago

Sorry, this only happens with .tsx files...