You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Webstorm, there is a warning Invalid number of arguments, expected 1..2 for the following.
conststore=writable()
The jsdoc definition for writable,
/** * Create a `Writable` store that allows both updating and reading by subscription. * @param value initial value * @param start start and stop notifications for subscriptions */
should be
/** * Create a `Writable` store that allows both updating and reading by subscription. * @param [value] initial value * @param [start] start and stop notifications for subscriptions */
to indicate that value & start are optional arguments.
The text was updated successfully, but these errors were encountered:
btakita
changed the title
store jsdoc @param not optional for writable
writable jsdoc @param not optional
May 26, 2019
btakita
added a commit
to btakita/svelte
that referenced
this issue
May 26, 2019
In Webstorm, there is a warning
Invalid number of arguments, expected 1..2
for the following.The jsdoc definition for writable,
should be
to indicate that value & start are optional arguments.
The text was updated successfully, but these errors were encountered: