queicherius / gw2api-client

Javascript wrapper for the official Guild Wars 2 API.
MIT License
47 stars 18 forks source link

Hope can have .d.ts make ide support this #33

Closed bluelovers closed 6 years ago

bluelovers commented 7 years ago

Hope can have .d.ts make ide support this or maybe tweak source to typescript

i try make one https://github.com/bluelovers/gw2api-client/tree/to-typescript/build

queicherius commented 7 years ago

I would be fine merging a PR for adding TS definition support if you want to send one. It should not change the source into TS, and the type definitions have to be able to be automatically generated or very easily edited.

bluelovers commented 7 years ago

without convert source to ts, i think is not easy make a auto generate if current code is not change too much, the .d.ts is also easy edit but not for auto generate


ts is near current source, so will not too hard change to ts


if u ok for take .d.ts, u can just copy it to here

queicherius commented 6 years ago

Closing this since there was no discussion for a long while.