UI5TypescriptDeclarations icon indicating copy to clipboard operation
UI5TypescriptDeclarations copied to clipboard

The jQuery.sap declarations are conflicting with jQuery

Open lmcarreiro opened this issue 6 years ago • 1 comments

Your declarations of sap.* namespaces are a lot better than the @types/openui5 package, but the jQuery.sap of yours, are having a conflict with actual jQuery typescript declarations, it hides the jQuery declarations.

You need to extend the JQueryStatic interface to avoid this conflict, like in this file (the last lines): https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/openui5

It would be very nice to have your declarations like a package on npm (with the jQuery problem fixed).

lmcarreiro avatar Oct 04 '17 17:10 lmcarreiro