[🟦] Migrate server-side code to TypeScript
See original GitHub issue- Introduce
typescript
and necesary type packages on backend - Rename all code files from
.js
to.ts
- Augment
npm install
process to transpile - Change
npm start
to run server from transpiled JavaScript code
After the above steps typing can be gradually introduced in the codebase.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:46 (45 by maintainers)
Top Results From Across the Web
Documentation - Migrating from JavaScript - TypeScript
In this tutorial, we're going to look at how you might start out. We assume you've read enough of the handbook to write...
Read more >ts-migrate: A Tool for Migrating to TypeScript at Scale - Medium
1) Hybrid migration strategy. Partially migrate file by file, fix type errors, and repeat until the full project is migrated. The allowJS config ......
Read more >A simple guide for migrating from JavaScript to TypeScript
This article shows you how to easily migrate a React component from JavaScript to TypeScript to improve your project.
Read more >A step-by-step guide to migrate a Node.js web app to Typescript
Step 1: The new project structure ... Instead of having all directories into the project's root, we'll move them to a dedicated folder....
Read more >Migrating millions of lines of code to TypeScript - Stripe
On Sunday March 6, we migrated Stripe's largest JavaScript codebase (powering the Stripe Dashboard) from Flow to TypeScript.
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
Running Juice Shop from source or a packaged distro now works fine on this branch. The only thing having trouble is the Docker image. On CI/CD it fails the smoke tests already, so the build/publish jobs are not even trying to run currently.
@paseaf, please send me an email with your address so I can send some “Thank you!”-package* on its way, as this was a) your first and b) a veeery sophisticated contribution (that even we from core team didn’t dare touch until now ourselves…)!!!
⭐⭐⭐⭐⭐! 😀
(*Depending on where you are located I might send you some gift card instead for getting a Juice Shop shirt printed locally or something like that.)