RiotTS icon indicating copy to clipboard operation
RiotTS copied to clipboard

Add jquery type for riot.mount

Open brauliobo opened this issue 9 years ago • 2 comments

brauliobo avatar Feb 26 '16 11:02 brauliobo

Do you mean that the returned value from riot.mount should be a jQuery element too?

The problem is that RiotTS does not depend on jQuery, so the type is not available.

nippur72 avatar Feb 26 '16 11:02 nippur72

Sorry, I thought this was an issue and not a pull request :-).

Anyway, since riot.d.ts is generated automatically, the change need to be done directly on riot.ts.

Also, since typescript 1.8 is out, perhaps we could have this feature as a module/global augmentation. Let me think a bit about it.

nippur72 avatar Feb 26 '16 12:02 nippur72