Jump to content

IvanK-TS TypeScript Definitions


deis
 Share

Recommended Posts

These are very rough and not completely tested, but I thought I would share what I was working on tonight. I really like the IvanK library for Javascript, and wished I had something similar to work with in TypeScript. So, I cooked up this definitions file tonight. Unfortunately I ran into some naming conflicts that were really causing some TypeScript issues. The Event, MouseEvent, and KeyboardEvent classes had to be renamed until there exists a way to alias class definitions or other similar methods in TypeScript. So, make sure you use the ivank-remap.js file until something more elegant is discovered.

 

github: https://github.com/deisdestiny/IvanK-TS

 

and don't forget to grab the actual IvanK library: http://lib.ivank.net/

 

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...