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
Hi, that would be a good area to improve for HybridWebView. Unfortunately I'm not very familiar with how this works with TypeScript or React, so if anyone can offer suggestions on how to do this, it'd be greatly appreciated!
This is the case when offered as a separate package, but of course it is also possible to offer them together as a single package.
Type definitions can be enabled by creating a types directory, for example, and creating a d.ts file like the following
src/types/global.d.ts
exportdeclare global {interfaceWindow{HybridWebView: HybridWebView;}}typeHybridWebView={// actual HybridWebView types...}
Just Trying to use it with a React Typescript SPA, but i don't get the javascript working in a typescript.
Already tried to make a global.d.ts, and make there the extends Operation to Window interface, but i get some Compiler Errors.
Can anybody help?
The text was updated successfully, but these errors were encountered: