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

Avoid using NodeJS global type #1032

Merged
merged 2 commits into from
May 9, 2024
Merged

Avoid using NodeJS global type #1032

merged 2 commits into from
May 9, 2024

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented May 9, 2024

This PR uses imports for types that currently use the global NodeJS namespace.

This is mostly a matter of preference, but it feels like it's always a good idea to avoid globals and use explicit imports when possible.

@sindresorhus
Copy link
Owner

Conflict

@sindresorhus sindresorhus merged commit 398d090 into main May 9, 2024
12 checks passed
@sindresorhus sindresorhus deleted the global-types branch May 9, 2024 13:43
@sindresorhus
Copy link
Owner

@ehmicky New release?

@ehmicky
Copy link
Collaborator Author

ehmicky commented May 9, 2024

Yes, but we might want to merge #1037 first.

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.

None yet

2 participants