Convert to TypeScript
See original GitHub issue#600 was an attempt to convert ember-intl to native classes, but it ended up getting reverted for reason I do not recall any more.
I’ve been using ember-cli-typescript@2.0.0-rc.1
quite successfully with @ember-intl/decorators
and other projects and suggest we convert ember-intl over to TypeScript as well.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:11 (7 by maintainers)
Top 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 >Online Javascript to Typescript Converter Tool - JavaInUse
Online tool to convert a javascript file to typescript. Complex javascript files can be converted to typescript file using this tool.
Read more >Converting a Javascript project to Typescript - Medium
The process · Step 1: Install TypeScript compiler and loader · Step 2 · Step 3: Create a configuration file · Step 4:...
Read more >js-to-ts-converter - npm
Small utility to rename .js->.ts, and convert ES6 classes to TypeScript classes by filling in property declarations.
Read more >How to Migrate Application From JavaScript to TypeScript
TypeScript is a superset of JavaScript, so valid JavaScript code is a valid TypeScript code. Incremental migration, converting the whole project step by...
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
I made some: https://github.com/gossi/spomoda/blob/master/web/types/ember-intl/index.d.ts Use them locally and extend them with the ones you need for test-support (I haven’t covered them yet)
Maybe ship an
index.d.ts
at first as “lightweight” solution, so people with Typescript don’t get those squiggly lines in their IDE and then conversion afterwards?PS. Maybe ember observer has some usage statistics