Open capi opened 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.
I'm quite new to TypeScript but it seems to me, that the type of
INotifyReturn.$ele
should beJQuery
instead ofJQueryStatic
.At least it is perfectly valid to call methods like
on("click", () => r.close())
on it, which is not possible with theJQueryStatic
, though.