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

Breaking: Updates to AST node types of some TSNodes (fixes #386) #388

Merged
merged 3 commits into from
Dec 11, 2017

Conversation

JamesHenry
Copy link
Member

No description provided.

@eslintbot
Copy link

LGTM

TSTypeLiteral: "TSTypeLiteral",
TSTypeParameter: "TSTypeParameter",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this will conflict with TypeParameters that were already being copied over :(

Example with mapped types:

var x: { [A in keyof B]?: any };

Ref: prettier/prettier#1393

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for your patience on this @existentialism, I have a fix for that in prettier and have opened a PR here: prettier/prettier#3455

@JamesHenry JamesHenry merged commit 59a37f4 into master Dec 11, 2017
@JamesHenry JamesHenry deleted the tsnode-type-updates branch December 11, 2017 18:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants