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: loosen types #15

Merged
merged 2 commits into from
Dec 19, 2024
Merged

fix: loosen types #15

merged 2 commits into from
Dec 19, 2024

Conversation

Rich-Harris
Copy link
Owner

As of 1.3.0, print takes a TSESTree.Node as the first argument. This creates problems such as sveltejs/svelte#14759, since it adds a dependency on @typescript-eslint/types which has a more recent minimum Node version than Svelte. It's also cumbersome in the case where you're dealing with normal estree nodes.

This PR loosens the types, and moves the offending package to devDependencies.

@Rich-Harris Rich-Harris merged commit d49ea4c into main Dec 19, 2024
6 checks passed
@Rich-Harris Rich-Harris deleted the loosen-types branch December 19, 2024 05:06
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.

1 participant