bootstrap-notify
bootstrap-notify copied to clipboard
notify.d.ts: $ele should be of type JQuery
I'm quite new to TypeScript but it seems to me, that the type of INotifyReturn.$ele should be JQuery instead of JQueryStatic.
At least it is perfectly valid to call methods like on("click", () => r.close()) on it, which is not possible with the JQueryStatic, though.
I am really sorry but I am unable to help you. I honestly have no idea what TypeScript is. It was a pull request made by some other dude. I don't support it, in fact it wont even be in version 4 that I plan on releasing next month.
I am truely sorry. If you are able to resolve the issues and make a pull request I would be happy to merge them, but I do not plan to support the TypeScript feature.