ondras / rot.js

ROguelike Toolkit in JavaScript. Cool dungeon-related stuff, interactive manual, documentation, tests!
https://ondras.github.io/rot.js/hp/
BSD 3-Clause "New" or "Revised" License
2.33k stars 254 forks source link

Keep .d.ts doc comments for TypeScript #146

Closed bbugh closed 5 years ago

bbugh commented 5 years ago

Currently, tsconfig.json is configured to remove comments, which results in all of the .d.ts files being undocumented. At first, I thought all of these methods weren't documented, but after looking at the code I realized that there's all this good documentation being stripped out.

Before PR - what's this do?

screen_shot_2018-11-30_at_6_19_30_am

After PR - documentation!

screen_shot_2018-11-30_at_6_12_04_am
ondras commented 5 years ago

Thanks! And sorry for the delay; I somehow missed the PR email in my usual inbox avalanche.