You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current declaration file specifies doesn't specify any props as optional, although most actually are. This makes the package difficult to use in TypeScript projects without lots of @ts-ignores.
The examples in the README also make it clear that most props aren't required. If I can get some guidance on what is optional, I'll happily make the changes and put together a PR.
Alternatively, the typings could be moved to the DefinitelyTyped repo.
The text was updated successfully, but these errors were encountered:
The current declaration file specifies doesn't specify any props as optional, although most actually are. This makes the package difficult to use in TypeScript projects without lots of
@ts-ignore
s.The examples in the README also make it clear that most props aren't required. If I can get some guidance on what is optional, I'll happily make the changes and put together a PR.
Alternatively, the typings could be moved to the DefinitelyTyped repo.
The text was updated successfully, but these errors were encountered: