Skip to content

Syntax highlighting incorrect for type literals #162

New issue

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

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

Already on GitHub? Sign in to your account

Closed
rcchen opened this issue Apr 27, 2015 · 0 comments · Fixed by #173
Closed

Syntax highlighting incorrect for type literals #162

rcchen opened this issue Apr 27, 2015 · 0 comments · Fixed by #173

Comments

@rcchen
Copy link

rcchen commented Apr 27, 2015

protected _normalizeDatasets<A, B>(fromX: boolean): {a: A; b: B}[] {
  return Stacked.prototype._normalizeDatasets.call(this, fromX);
}

The typed object literal for the return typing "{a: A; b: B}" wrecks syntax highlighting for the rest of the page. I have tried putting a semicolon after the B as well and the syntax highlighting is still incorrect. Is this an issue with my syntax, or is there a bug with the plugin?

image

@mhegazy mhegazy added the Bug label Apr 27, 2015
@DanielRosenwasser DanielRosenwasser changed the title Syntax highlighting incorrect for typed object literals Syntax highlighting incorrect for type literals Apr 27, 2015
@zhengbli zhengbli added the Fixed label May 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants