question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Help Wanted: TypeScript Conversion Update

See original GitHub issue

Hello PixiJS Community,

We have reach a major milestone in converting PixiJS to TypeScript by converting core and all it dependencies. Now that we are over this hump, we can start on the rest of the packages that dependency on this small set of core packages.

We could definitely use a hand from devs to convert the rest of these packages. If you are interested in converting a package, please let me know which one. There are a few guidelines for converting packages, which you can see from the existing completed PRs.

Converting Gotchyas

  • We are trying to maintain the JSDocs until everything is completed, and then convert to Typedoc and emit types afterwards. We ask that you maintain JSDocs and make sure that they still build and show up correctly via npm run docs
  • Please use git mv to rename JS files to TS, or else we lose the Git history. Some Git GUIs may not pick up these changes.
  • Please do not add public access modifiers to internal-only methods or members, leave access undefined in these cases.

Packages

To Claim a package, please create Draft PR for it

Bundles

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:24 (20 by maintainers)

github_iconTop GitHub Comments

2reactions
bigtimebuddycommented, Feb 11, 2020

I hate making API changes to accommodate typing limitations, just doesn’t feel right to me. Personally, I’d rather use any then create a new method. Having such a large API surface is already a burden.

1reaction
bigtimebuddycommented, Jun 1, 2020

Huge thank you to @Zyie, @ivanpopelyshev, @SerG-Y, @eXponenta and all the other contributors who helped make this migration possible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation - Migrating from JavaScript - TypeScript
Converting a JavaScript codebase over to TypeScript is, while somewhat tedious, usually not challenging. In this tutorial, we're going to look at how...
Read more >
ts-migrate: A Tool for Migrating to TypeScript at Scale - Medium
Let's walk through the main steps needed to migrate a project from JavaScript to TypeScript and how those steps are implemented: 1) The...
Read more >
Converting JavaScript to TypeScript - TutorialsTeacher
Learn how to convert an existing JavaScript code to TypeScript step by step.
Read more >
Convert codebase to TypeScript · Issue #494 · testing-library ...
Currently types are manually maintained in the @types/ project so they are only updated after the fact and are prone to human error...
Read more >
8 Tips for Converting That Big Project to TypeScript
Try to make sure any helps the team go forward, but doesn't get forgotten in your project. One way to do so is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found