Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix import type via upgrading @tsconfig/ember #1467

Merged
merged 12 commits into from
Jul 24, 2024
Merged

Conversation

NullVoxPopuli
Copy link
Collaborator

@NullVoxPopuli NullVoxPopuli commented Jul 24, 2024

As a part of the v2 conversion process, we need to correctly declare our type imports as types (rather than values).

This enables tooling later to completely strip imports if unused.


For V2 Conversion

  • extract test-app
  • fix type-imports <- this PR
  • find old code and remove it (optional, unless it's tied to the build)
  • native library conversion

depending on how these PRs go will determine if we need to do a major or not.

@NullVoxPopuli NullVoxPopuli changed the title Fix import type via upgrading @tsconfig/ember Drop support for TS < 5, fix import type via upgrading @tsconfig/ember Jul 24, 2024
@kategengler
Copy link
Member

I'm not sure about this dropping support for TS versions still supported by ember.js itself without doing a major version to indicate changed ember.js support. cc @wagenet @gitKrystan

@NullVoxPopuli NullVoxPopuli changed the title Drop support for TS < 5, fix import type via upgrading @tsconfig/ember Fix import type via upgrading @tsconfig/ember Jul 24, 2024
…pport -- we only need to test the public API
@kategengler
Copy link
Member

ember-source only tests against 4.9+ of typescript, if that helps

@NullVoxPopuli
Copy link
Collaborator Author

all green! and no longer dropping support for anything!

@NullVoxPopuli NullVoxPopuli merged commit e77fc12 into master Jul 24, 2024
22 checks passed
@NullVoxPopuli NullVoxPopuli deleted the fix-type-imports branch July 24, 2024 17:59
@github-actions github-actions bot mentioned this pull request Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants