Skip to content

Conversation

@miorel
Copy link
Contributor

@miorel miorel commented Sep 21, 2024

TypeScript has this fun behavior wherein you have to import files with a .js extension even though those files don't exist. Fortunately, we can enable importing with a .ts extension if the compiler is in noEmit mode.

@miorel miorel requested review from elimanzo and simona1 September 21, 2024 01:44
Copy link
Contributor

@elimanzo elimanzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@miorel miorel merged commit d54208f into main Sep 21, 2024
6 checks passed
@miorel miorel deleted the ts-extension branch September 21, 2024 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants