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

Improve typing of third argument #96

Open
flyon opened this issue Mar 11, 2020 · 1 comment
Open

Improve typing of third argument #96

flyon opened this issue Mar 11, 2020 · 1 comment

Comments

@flyon
Copy link

flyon commented Mar 11, 2020

Using typescript the third argument is called 'customStatic'. Which seems to indicate you can provide more statics, rather than provide a list of statics to avoid. I think the name can be more clear.

@eps1lon
Copy link
Contributor

eps1lon commented Mar 11, 2020

The types are part of https://github.com/DefinitelyTyped/DefinitelyTyped. Feel free to open a PR with a better name (and possibly docs explaining the intent).

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

No branches or pull requests

2 participants