knht / eris-pagination

🔀 An extremely easy to use Embed Paginator for the Eris Discord Library
MIT License
10 stars 20 forks source link

Typescript typings and documentation improvements #12

Closed bsian03 closed 4 years ago

bsian03 commented 4 years ago

Add typings for projects that use TypeScript

bsian03 commented 4 years ago

Included JSDoc directly to the export function since documentation isn't provided there and it's a bit naff not having any references. Also since we already use Eris as a dependency to make the typings work as normal, I also used the Eris typings for the embed object and message class directly in the JSDoc.

bsian03 commented 4 years ago

Should I add JSDoc to the typings?

bsian03 commented 4 years ago

Bump