mouse0270 / bootstrap-notify

Turns standard Bootstrap alerts into "Growl-like" notifications.
http://bootstrap-notify.remabledesigns.com/
MIT License
2.25k stars 642 forks source link

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

Open capi opened 8 years ago

capi commented 8 years ago

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.

mouse0270 commented 8 years ago

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.