Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bug wtih function returning generic function with 2+ params, single line #785

Closed
vatosarmat opened this issue Oct 30, 2019 · 1 comment
Closed

Comments

@vatosarmat
Copy link

TS and JS Grammar Extension version: 0.0.53 / latest

Code

function getFoo() { return <T, P>(t: T) => {t}}

const stuff = { foo: getFoo()<string, number>('ddd') }

//const v = {
//  title: ''
//}

console.log('highlight is broken unless object literal defined above')
const a = ''
function hello() {
  return 10
}

interface Bar {
  count: number
}

TS_issue1
TS_issue2

@vatosarmat
Copy link
Author

Many thanks for fast response 🙂
When should I expect patch to be available in vscode?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant