[RFC] Move to Typescript
See original GitHub issueWith 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:
- Created 5 years ago
- Reactions:24
- Comments:89 (79 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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.