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: remove type-fest to improve compatibility #19

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Conversation

swain
Copy link

@swain swain commented Jan 18, 2024

Motivation

I'd like to propose removing type-fest to improve the compatibility of this library. The current version of type-fest used here has an implicit requirement around the version of TypeScript, and I'm struggling to identify it.

In my experience, this is common with type-fest -- since they're providing complex typings, they often rely on TS syntax that may be only recently supported, or is at the least version specific.

While I love type-fest, I think this might make it not ideal for this project, which is itself a package. Removing type-fest will make the project more compatible with consumers of various TypeScript versions.

@swain swain merged commit 4f947a7 into master Jan 18, 2024
4 checks passed
@swain swain deleted the remove-type-fest branch January 18, 2024 18:12
Copy link

🎉 This PR is included in version 1.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released Has been released to the package repository (NPM, etc) label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Has been released to the package repository (NPM, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants