You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`[key: string]: Function;` is added to `Cash` such that fabiospampinato#380 can be resolved.
`ICashArray<HTMLElement>` is also added such that Cash can be array-like with HTMLElement results from `querySelectorAll`.
Added TypeScript support for $.fn
`[key: string]: Function;` is added to `Cash` such that fabiospampinato#380 can be resolved.
`ArrayLike<HTMLElement>` is also added such that Cash can be array-like with HTMLElement results from `querySelectorAll`.
The element array shall be the normal use for this script. If the array content is other type such as document, window, number, etc, for typescript users, they shall do `$(document)[0] as any as Document`.
Unlike many other typescript libraries. Doing something like:
Doesn't work. Neither in the same
.ts
file, a seperate.d.ts
file and with or without theexport
before theinterface
, in case that would.Ofcourse, in the
.d.ts
file i'm addingHow to augment Cash?
The text was updated successfully, but these errors were encountered: