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.

Convert to typescript

See original GitHub issue

Your issue

The conversion to typescript was started by @mcmxcdev and myself back in the ferdi days. That effort was done piece-meal in small chunks, but has since come to a state where some portion of the codebase is in ts while other portions are in js. Need to restart that conversion

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
cinocommented, Jul 13, 2022

@SlanDF image

Highly relevant as you can see 😃

1reaction
muhamedsalih-twcommented, Nov 24, 2022

FYI - I shall further involve in cleanup activities that are spilled over in transformation

Queue:

  • need to update eslint settings w.r.t typescript update and try to remove other quality check tools like prettier or common lint or editor config (After discussion and validation with team)
  • refactor all ui components.
  • pass readOnly to the display strings as Input (to avoid user from seeing cursor)
  • remove all ()=>{} to noop (import from lodash) for cleaner
  • check/ correct typing, style of code and refactor if needed
  • Remove all any (return type)
  • try to implement private variable if needed
  • Handle import cycles
  • Clear all tech dept occured in this TS transformation (address TODO)

Thanks for support folks 😃

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 >
Converting JavaScript to TypeScript - TutorialsTeacher
Converting Existing JavaScript to TypeScript · Add tsconfig.json file to project · Integrate with a build tool · Change all .js files to...
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
Converting a Javascript project to Typescript. An extensive methodology. Photo by Emile Perron on Unsplash. Introduction.
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 >

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