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
Thank you for reaching out, we will evaluate this!
jkasten2
changed the title
[TypeScript]: export types and interfaces for reuse
[TypeScript]: export types and interfaces for reuse (still missing export in 3.0.0)
Aug 16, 2023
Is there any update on this? I'm working on a project where I have to implement oneSignal.
The types would come in handy for creating callbacks and related hooks.
What's on your mind?
For example, I want to make a React hook like
and I have to use
Parameters<(typeof OneSignal)['init']['0']>
instead ofIInitObject
.Export
IInitObject
and other types can make this function signature easier to write.The text was updated successfully, but these errors were encountered: