dsherret / dsherret/ts-morph

Possible to alphabetize interface properties?

Open
#1,429 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.2k
Forks
238
Avg merge
2m
Merged PRs (30d)
1

Description

In my project, I'm generating types including an interface that contains thousands of properties. I'd like to keep these properties organized alphabetically. Is this possible with ts-morph?

Thanks much for any help!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing ts-morph's APIs for generating and manipulating interface properties, focusing on whether property ordering can be controlled. Define the expected behavior for alphabetizing thousands of generated interface properties before determining the relevant implementation and tests; the issue does not name specific files or test entry points.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.