Skip to content
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

fix: support fixing sort keys with ObjectTypeSpreadProperty #326

Merged
merged 1 commit into from
Apr 20, 2018

Conversation

frodosamoa
Copy link
Contributor

@frodosamoa frodosamoa commented Apr 20, 2018

fixes: #287

this allows us to run eslint --fix on types that have ObjectTypeSpreadProperty:

declare export type CoolType = {
  ...SomeType,
  ...SomeOtherType,
  someOtherProperty: boolean,
  someProperty: boolean,
}

@frodosamoa frodosamoa force-pushed the fix-sortKeysWithObjectTypeSpread branch from f48e32c to 00aa50c Compare April 20, 2018 10:06
@gajus gajus merged commit 6b44d73 into gajus:master Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sort-keys fails when there is a spread object
2 participants