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

feat!: use type-only imports by default #168

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

mrgrain
Copy link
Owner

@mrgrain mrgrain commented Nov 18, 2023

BREAKING CHANGE: Since this package operates exclusively on types, it should be safe to use type-only imports. To restore the previous behavior, set useTypeImports: false.

See https://www.typescriptlang.org/docs/handbook/modules/reference.html#type-only-imports-and-exports

BREAKING CHANGE: Since this package operates exclusively on types, it should be safe to use type-only imports. To restore the previous behavior, set `useTypeImports: false`.

See https://www.typescriptlang.org/docs/handbook/modules/reference.html#type-only-imports-and-exports
@mrgrain mrgrain changed the title feat!: use type imports by default feat!: use type-only imports by default Nov 18, 2023
@mergify mergify bot merged commit a07e971 into main Nov 18, 2023
10 checks passed
@mergify mergify bot deleted the mrgrain/feat/default-to-type-imports branch November 18, 2023 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant