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.

[RFC] Move to Typescript

See original GitHub issue

With more OS projects now planning to move to Typescript (jest, Vue.js, etc.), I think it would be time to think about doing the same. Typescript has matured and now with eslint and babel both supporting Typescript as well, it should be future proof.

Additionally, I think the tooling around Typescript (speed, autocompletion), etc. is far head of flow currently.

I would start with “rewriting” smaller packages (like css-functions and theming) in the beginning. Also, I started writing the new docs with Typescript.

Are you willing to implement it? Yes

EDIT: I started rewriting the core in my fork in Typescript as an experiment.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:24
  • Comments:89 (79 by maintainers)

github_iconTop GitHub Comments

4reactions
kofcommented, Jun 24, 2019

Another option I discovered today, also used by preact https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html

Checking types using jsdoc types using ts compiler.

3reactions
HenriBeckcommented, Apr 14, 2019

I would prefer it if we did an incremental switch to typescript. I think the developer experience is far inferior to Flow and we might even see more engagement from the community in terms of PRs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ankush Dharkar - [RFC] Migrate backend to TypeScript
Hey Folks, we are going to migrate our backend from nodeJS to TypeScript at Real Dev Squad. The codebase is medium-sized and a...
Read more >
New: Use Typescript for new projects (#105) · Issues · GitLab.org ...
This is a follow up from the Static Type Checking in GL RFC. From what I can tell, the major concern with the...
Read more >
Official TypeScript Support - Ember RFCs
This RFC declares our intent to officially support TypeScript as a peer to JavaScript, in a way which makes the developer experience better ......
Read more >
A Proposal For Type Syntax in JavaScript - TypeScript
If we go back to 2012 when TypeScript was first announced, the JavaScript world was drastically different! Some browsers shipped often, ...
Read more >
[RFC] Semantic versioning for TypeScript types (applicable to ...
Introduce a policy for semantic versioning for TypeScript types, which accounts for both the details of TypeScript's structural type system and ...
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