derived docs fix

pull/2385/head
Conduitry 6 years ago
parent 4cb08f3253
commit a605daceaa

@ -265,7 +265,7 @@ const time = readable(new Date(), set => {
});
```
#### `derive`
#### `derived`
* `store = derived(a, callback: (a: any) => any)`
* `store = derived(a, callback: (a: any, set: (value: any) => void) => void)`

@ -11,4 +11,4 @@ export const elapsed = derived(
);
```
> It's possible to derive a store from multiple inputs, and to explicitly `set` a value instead of returning it (which is useful for deriving values asynchronously). Consult the [API reference](docs/TK) for more information.
> It's possible to derive a store from multiple inputs, and to explicitly `set` a value instead of returning it (which is useful for deriving values asynchronously). Consult the [API reference](docs#derived) for more information.

Loading…
Cancel
Save