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

Add AbstractClass type #559

Merged
merged 4 commits into from Mar 11, 2023
Merged

Conversation

rayrw
Copy link
Contributor

@rayrw rayrw commented Feb 28, 2023

Fixes #374

This PR adds a generic type AbstractClass<T> together with AbstractConstructor<T>.

The test is mostly inspire by the official documentation of abstract construct signatures

@sindresorhus sindresorhus merged commit 9b12767 into sindresorhus:main Mar 11, 2023
@sindresorhus
Copy link
Owner

Thanks :)

orimiles5 pushed a commit to orimiles5/type-fest that referenced this pull request Mar 11, 2023
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.

Add AbstractClass<T>
2 participants