Skip to content

fix: support Node.js type stripping by importing from .ts files#3448

Merged
tabcat merged 3 commits intomainfrom
fix/import-from-ts-files
Apr 16, 2026
Merged

fix: support Node.js type stripping by importing from .ts files#3448
tabcat merged 3 commits intomainfrom
fix/import-from-ts-files

Conversation

@achingbrain
Copy link
Copy Markdown
Member

@achingbrain achingbrain commented Apr 10, 2026

To (for example) run tests without prior typescript compilation, use the .ts extension for relative imports.

This is just to speed local development in a future aegir release, the built output of the project does not change.

Fixes #2812

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

To (for example) run tests without prior typescript compilation,
use the .ts extension for relative imports.

This is just to speed local development in a future aegir release,
the built output of the project does not change.
@achingbrain achingbrain requested a review from a team as a code owner April 10, 2026 17:44
Copy link
Copy Markdown
Member

@tabcat tabcat left a comment

Choose a reason for hiding this comment

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

thanks 🚀

@tabcat tabcat merged commit 8623584 into main Apr 16, 2026
34 checks passed
@tabcat tabcat deleted the fix/import-from-ts-files branch April 16, 2026 10: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.

Compatibility with --experimental-strip-types

2 participants