From f6fa3a9922cce49e55d2c12a65e768dab65601b2 Mon Sep 17 00:00:00 2001 From: Ignatius Bagus Date: Thu, 20 May 2021 17:29:00 +0700 Subject: [PATCH] remove mention of required for readable --- site/content/docs/03-run-time.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/site/content/docs/03-run-time.md b/site/content/docs/03-run-time.md index c846ca0395..c0bd145316 100644 --- a/site/content/docs/03-run-time.md +++ b/site/content/docs/03-run-time.md @@ -302,9 +302,7 @@ store = readable(value?: any, start?: (set: (value: any) => void) => () => void) --- -Creates a store whose value cannot be set from 'outside', the first argument is the store's initial value. - -The second argument to `readable` is the same as the second argument to `writable`, except that it is required with `readable` (since otherwise there would be no way to update the store value). +Creates a store whose value cannot be set from 'outside', the first argument is the store's initial value, and the second argument to `readable` is the same as the second argument to `writable`. ```js import { readable } from 'svelte/store';