Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Incorrect end position of TypeInstantiation inside TypeReference #406

Closed
duailibe opened this issue Nov 29, 2017 · 3 comments
Closed

Incorrect end position of TypeInstantiation inside TypeReference #406

duailibe opened this issue Nov 29, 2017 · 3 comments
Labels

Comments

@duailibe
Copy link
Contributor

duailibe commented Nov 29, 2017

What version of TypeScript are you using?
Both 2.6.1 and 2.6.2

What version of typescript-eslint-parser are you using?
master (9.0.0)

What code were you trying to parse?

interface AudioBufferList {
  mBuffers: interop.Reference<any /*AudioBuffer*/>;
}

What did you expect to happen?
The end position of TypeInstantiation node should be the character >.

What happened?
The end position of TypeInstantiation node is the character right after any.

@JamesHenry
Copy link
Member

Thanks a lot for this, @duailibe! I will look at your PR shortly

@duailibe
Copy link
Contributor Author

Thank you @JamesHenry! I'm confused on how to get the checks to pass, sorry about that 😅

@JamesHenry
Copy link
Member

No worries, I've replied on the PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants