Closed continif closed 2 years ago
This type issue comes from the custom types hosted in the DefinitelyTyped repo.
I just submitted a PR (https://github.com/DefinitelyTyped/DefinitelyTyped/pull/62543) there which fixes this issue. It might take a couple of days before it gets accepted though.
Hey, thanks. I just approved it. Should be merged soon.
Thanks so much guys!
The new types are available on npm as @types/guacamole-common-js@1.3.2
. Thanks @linn-gith and @Talent30!
Hi Christopher, i'm building an app with your package, and i need to use React.StrictMode, when i create the tunnel this happen:
That's strange because in nostrict mode it works fine, so i went to the class definition and i found that in HTTPTunnels.d.ts the constructor is defined as:
constructor(tunnelURL: string, crossDomain?: boolean, extraTunnelHeaders?: boolean);
instead of (for example):constructor(tunnelURL: string, crossDomain?: boolean, extraTunnelHeaders?: any);
Pls, could you solve? Thanks in advance.