nulab / backlog-js

Backlog API version 2 client for browser and node.
https://developer.nulab-inc.com/docs/backlog/
33 stars 13 forks source link

Add type annotation for response #28

Closed odanado closed 1 year ago

odanado commented 3 years ago

There are no type annotations in backlog.ts. This detracts from the developer experience.

I am interested in this task. Can I work on it?

mmktomato commented 3 years ago

Sure! Do you mean about return types? Parameters have types already. https://github.com/nulab/backlog-js/blob/master/src/backlog.ts

odanado commented 3 years ago

Do you mean about return types?

Yes. But, most of the return types are of type any, which can be confusing for developers.

mmktomato commented 3 years ago

Good. Let me know if you have any problems on the implementation.

mmktomato commented 1 year ago

I'm working on this issue. This will come with some breaking changes.

mmktomato commented 1 year ago

Done. The details of breaking changes: https://github.com/nulab/backlog-js/pull/77#issue-1737466728