Post

tsx served us well. Super happy Node has built in TS support now ๐Ÿ’™

1 repost43 likes

What did you use to convert file extensions on imports? I'd like to do this for a project as well but I haven't found an obvious way to only convert relative imports.

In this instance it was only a few files. And like a few handful of extensions that needed changing. So I just did it manually this time. But I've done it with a regexp search before. Just match the initial dot and the dot-and-ext at the end.

Oh, sorry to hear that. I guess that's the reality of using experimental features. But I understand that doesn't blunt the blow for you personally ๐Ÿซ‚