mirror of https://github.com/sveltejs/svelte
The store contract documentation states that the subscribe method "must return an unsubscribe function", but its signature suggested that it instead took a second, unit argument then returned `void`. This PR adds parentheses to reflect the intended meaning. I haven't given a name to the unit argument to the unsubscribe function.pull/4539/head
parent
91d758e35b
commit
26f0bad7b6
Loading…
Reference in new issue