dsherret / dsherret/ts-morph

TypeNode - Add methods for manipulating types

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

Description

From #529. Some examples:

* `addUnionType("string")`
* `addIntersectionType("{ prop: number; }");`

Needs more thought though.

Contributor guide

Open the contributing guide

Research direction

Read issue #529 first, then inspect the existing TypeNode API and related type-manipulation entry points. Clarify the proposed addUnionType and addIntersectionType behavior and define completion around a settled API that supports the stated examples with appropriate coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
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.