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.

Suport typescript for migration scripts

See original GitHub issue

I’m not a very good with javascript/typescript, so maybe I’m talking nonsense.

It would be lovely to be able to write the migration scripts in typescript. I’ve tried it, and got a syntax error when trying to import.

Is it possible to support typescript?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
kevlenedcommented, Apr 5, 2021

This is resolved in 0.5.1. See the docs for usage. It works directly with TypeScript or JSDoc, if you prefer.

1reaction
kevlenedcommented, Apr 13, 2021

@fringley I’ll assume that fixed your issue. I’ve documented the extra step in the README. If you still have trouble, let me know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation - Migrating from JavaScript - TypeScript
During our JS to TS migration, we'll need to separate our input files to prevent TypeScript from overwriting them. If your output files...
Read more >
10 Strategies for migrating to TypeScript - Exploring JS
These are three strategies for migrating to TypeScript: We can support a mix of JavaScript and TypeScript files for our code base.
Read more >
ts-migrate: A Tool for Migrating to TypeScript at Scale - Medium
To solve this problem, we decided to use code modification scripts — codemods! Through our initial process of manual migration to TypeScript ......
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 >
Migrating millions of lines of code to TypeScript - Stripe
TypeScript support was one such pressing issue and teams supporting ... team generated a new migration branch and ran our automated scripts.
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