Skip to content

Rewrite in TypeScript #20

Description

@mjwwit

Rewriting the project in TypeScript will allow automatic generation of type definitions, easing implementation efforts in dependent projects. It can also help improve adherence to the XHR spec.

  • Introduce TypeScript as a dev-dependency
  • Create a strict TypeScript config
  • Rewrite module code into TypeScript and make it pass the compiler checks
  • Setup build config that outputs JavaScript and type definitions
  • Update package.json to refer to new build artifact locations

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions