Flaxis / slick-ui

Lightweight Phaser UI plugin
http://slick-ui.com/
190 stars 26 forks source link

Typescript definitions #5

Closed Wargog closed 7 years ago

Wargog commented 8 years ago

Have you considered writing some Typescript definitions for SlickUI? I am currently using it in my Typescript project but i get a bunch of annoying errors and code completion doesn't work properly.

Flaxis commented 8 years ago

I haven't considered it, but since reading your issue I am considering it. I can look into it, but I haven't really worked with Typescript before, so it might take some time

JamesSkemp commented 7 years ago

This is closed but I don't see definitions. Am I missing where these are located?

RichardSneyd commented 6 years ago

Hi, while this is closed, I have been unable to locate the ts definitions, just wondering have these been created as of yet?

ItsGravix commented 5 years ago

@Flaxis Where are the definitions? Is this project dead? I really wanted to use SlickUI with my TypeScript game.

bradtaniguchi commented 5 years ago

@ItsGravix

  1. There are none
  2. Pretty much (last commit over a year ago)
  3. You can, you just wont have types. You just need to create your own TS definition file for this library and either expect no "types" for all your imports, or make your own for what you use.