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 an optional “Argument” type to the “Class” type #52

Merged
merged 2 commits into from Jul 26, 2019
Merged

Add an optional “Argument” type to the “Class” type #52

merged 2 commits into from Jul 26, 2019

Conversation

fabiospampinato
Copy link
Contributor

I've made sure the Class type can be used to more strictly type classes that take some arguments in their constructors, as discussed here

@BendingBender
Copy link
Collaborator

Could you please add tests for this?

@fabiospampinato
Copy link
Contributor Author

Done. I spent more time fighting the linter than doing anything useful :S

@BendingBender
Copy link
Collaborator

LGTM. @sindresorhus

@sindresorhus sindresorhus changed the title Added an optional “Argument” type to the “Class” type Add an optional “Argument” type to the “Class” type Jul 26, 2019
@sindresorhus sindresorhus merged commit 8b8dd4d into sindresorhus:master Jul 26, 2019
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

3 participants