bootstrap-notify icon indicating copy to clipboard operation
bootstrap-notify copied to clipboard

notify.d.ts: $ele should be of type JQuery

Open capi opened this issue 9 years ago • 1 comments

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.

capi avatar Mar 30 '16 20:03 capi

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.

mouse0270 avatar Mar 31 '16 11:03 mouse0270