Skip to content

Properties with object type parameters disappear #14

Description

@soulcactus

Describe the bug
Properties with object type parameters disappear.

To Reproduce
Sorting this styled component:

const Title = styled.div`
    font-size: 50px;
    color: ${({ theme }) => theme.colors.primary};
    border: 1px solid #ddd;
`;

Results in:

const Title = styled.div`
    font-size: 50px;
`;

Expected behavior

const Title = styled.div`
    border: 1px solid #ddd;
    color: ${({ theme }) => theme.colors.primary};
    font-size: 50px;
`;

thank you for reading!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions