typescript-eslint / typescript-eslint/ts-api-utils
🚀 Feature: Migrate functions from @typescript-eslint/type-utils
Open
Nobody has claimed this yet.
status: accepting prs
type: feature
- Dominant language
- TypeScript
- Stars
- 122
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Bug Report Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
mainbranch of the repository. - I have searched for related issues and found none that matched my issue.
Overview
Some of the functions there could probably be moved to this project (or at least exists in both).
Additional Info
List of functions:
containsAllTypesByNamegetConstrainedTypeAtLocationgetContextualTypegetDeclarationgetSourceFileOfNodegetTokenAtPositiongetTypeArgumentsgetTypeNameisTypeReadonlyisUnsafeAssignmentisNullableTypeisTypeArrayTypeOrUnionOfArrayTypesisTypeNeverTypeisTypeUnknownTypeisTypeReferenceTypeisTypeAnyTypeisTypeAnyArrayTypeisTypeUnknownArrayTypeisAnyOrAnyArrayTypeDiscriminatedtypeIsOrHasBaseTypeisTypeBigIntLiteralTypeisTypeTemplateLiteralTypegetTypeOfPropertyOfNamegetTypeOfPropertyOfTyperequiresQuotinggetTypeFlagsisTypeFlagSet
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the listed functions in @typescript-eslint/type-utils with the utilities already exposed by this project. Determine which functions should move here or be duplicated, then define the intended API and compatibility expectations before implementation. The issue does not name files or tests, so those entry points still need to be identified.
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