Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Convert to TypeScript #498

Closed
Closed
Labels
@mpeyper

Description

Describe the feature you'd like:

Title says it all. I feel like TypeScript has reached a level of adoption where we shouldn't be scared of losing contributors by using it instead of JavaScript.

I believe other @testing-library packages are considering or currently being converted, if they aren't already TS.

Suggested implementation:

We currently have type definitions in DefinitelyTyped which can be used as the basis of the types.

I think we can aim to have a straight cut over to a new codebase rather than a progressive migration as there are not that many files to consider.

I think we should look at using TSDX for the tooling unless anyone has other ideas or suggestions in this space.

Describe alternatives you've considered:

N/A

Teachability, Documentation, Adoption, Migration Strategy:

This package should also become the source of truth for the type definitions and the DefinitelyTyped version should be deprecated. I'm not sure what the process if to do that if there is one.

Other than that I don't think there are any particular considerations to be made for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /