beginner-corp / begin-data

A durable and fast key/value store for Begin built on top of DynamoDB
79 stars 8 forks source link

fix the jsdoc for @begin/data.page function #74

Closed JakeChampion closed 3 years ago

JakeChampion commented 3 years ago

The previous JSDoc comment was referencing three different parameters, none of which existed. This commit updates the comment to reference the single parameter to the function: props, and to then document the properties of the props parameter. I noticed that the type for limit was also incorrect, from digging into the codebase I believe it is meant to be documented as being a number.

I followed the documentation for documenting an object parameter with JSDoc

P.S. Begin is excellent! I am really enjoying using it 😄

brianleroux commented 3 years ago

(thx for this!)