Closed geraintwhite closed 3 years ago
When using the sort-keys rule, it breaks the syntax when sorting keys of exact types.
sort-keys
Input:
export type GroupOrdersResponseType = {| isSuccess: boolean, code: number, message?: string, errorMessage: string, result: {| OrderNumber: string, Orders: GroupOrderSummaryType[], PlacedOn: string, Status: string, ReturnText: string, IncludesLegacyOrder: boolean |} |};
Output:
export type GroupOrdersResponseType = {| code: number, errorMessage: string, isSuccess: boolean, message?: string, result: {| IncludesLegacyOrder: boolean |} |}, OrderNumber: string, Orders: GroupOrderSummaryType[], PlacedOn: string, ReturnText: string, IncludesLegacyOrder: boolean |};
:tada: This issue has been resolved in version 5.9.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
When using the
sort-keys
rule, it breaks the syntax when sorting keys of exact types.Input:
Output: