Skip to content

🚀 Feature: Migrate functions from @typescript-eslint/type-utils #163

Description

@RebeccaStevens

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch 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:

  • containsAllTypesByName
  • getConstrainedTypeAtLocation
  • getContextualType
  • getDeclaration
  • getSourceFileOfNode
  • getTokenAtPosition
  • getTypeArguments
  • getTypeName
  • isTypeReadonly
  • isUnsafeAssignment
  • isNullableType
  • isTypeArrayTypeOrUnionOfArrayTypes
  • isTypeNeverType
  • isTypeUnknownType
  • isTypeReferenceType
  • isTypeAnyType
  • isTypeAnyArrayType
  • isTypeUnknownArrayType
  • isAnyOrAnyArrayTypeDiscriminated
  • typeIsOrHasBaseType
  • isTypeBigIntLiteralType
  • isTypeTemplateLiteralType
  • getTypeOfPropertyOfName
  • getTypeOfPropertyOfType
  • requiresQuoting
  • getTypeFlags
  • isTypeFlagSet

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: accepting prsPlease, send a pull request to resolve this! 🙏type: featureNew enhancement or request 🚀

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions