This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
TypeParameter location calculated incorrectly (includes leading spaces) #260
Closed
Description
What version of TypeScript are you using?
2.3.2
What version of typescript-eslint-parser
are you using?
master 00ad71dd44a34779b26fcf1f0af34851cae217b3
What code were you trying to parse?
function compare</*comment*/T, U>() {}
What did you expect to happen?
function compare</*comment*/T, U>() {}
// ~ TypeParameter T
// ~ TypeParameter U
What happened?
function compare</*comment*/T, U>() {}
// ~~~~~~~~~~~~ TypeParameter T
// ~~~~~ TypeParameter U