Request: TS | `IBeeConfig['onTogglePreview']` and `IBeeConfig['onPreview']` missing parameter `Status: boolean`
Closed this issue · 2 comments
elliothimmelfarb commented
Is your feature request related to a problem? Please describe.
IBeeConfig['onTogglePreview']
and IBeeConfig['onPreview']
are missing parameter Status: boolean
as seen in documentation and observed in usage.
https://docs.beefree.io/methods-and-events/#instance-events
:
config passed to beeInstance.start()
:
Describe the solution you'd like
Please add the parameters to the types.
Describe alternatives you've considered
I am currently disabling TypeScript for this line.
I could also patch the type locally.
Additional context
None. Thank you for getting to my last issue so quickly!
davidesamp commented
Hi @elliothimmelfarb ,
You can find the fix on the latest version of the npm package v1.6.3.
elliothimmelfarb commented
Thank you @davidesamp! ❤️