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

Typings only expose isEnabled (v5.0.2) #172

Closed
oisinlavery opened this issue Apr 29, 2020 · 1 comment
Closed

Typings only expose isEnabled (v5.0.2) #172

oisinlavery opened this issue Apr 29, 2020 · 1 comment

Comments

@oisinlavery
Copy link

Screen Shot 2020-04-29 at 10 02 44 AM

Should I be casting the type myself?

@sindresorhus
Copy link
Owner

The rest of the properties are conditioned on an if-statement. See the docs and read the type definition file.

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