File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/svelte/src/runtime/store Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const subscriber_queue = [];
1212/**
1313 * Creates a `Readable` store that allows reading by subscription.
1414 * @template T
15- * @param {T } value initial value
15+ * @param {T } [ value] initial value
1616 * @param {import('./public.js').StartStopNotifier<T> } [start]
1717 * @returns {import('./public.js').Readable<T> }
1818 */
@@ -25,7 +25,7 @@ export function readable(value, start) {
2525/**
2626 * Create a `Writable` store that allows both updating and reading by subscription.
2727 * @template T
28- * @param {T } value initial value
28+ * @param {T } [ value] initial value
2929 * @param {import('./public.js').StartStopNotifier<T> } [start]
3030 * @returns {import('./public.js').Writable<T> }
3131 */
You can’t perform that action at this time.
0 commit comments