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
The actual implementation is right, it is only an error in the index.t.ts resulting in TypeScript complaining about wrong types when using this signature.
The text was updated successfully, but these errors were encountered:
The
update
signature in https://github.com/PixievoltNo1/svelte-writable-derived/blob/master/index.d.ts#L43 is wrong and described asUpdater<T>
while it should read(fn: Updater<T>) => void
as in https://svelte.dev/docs/svelte-store#derivedThat is, the line
should read
The actual implementation is right, it is only an error in the
index.t.ts
resulting in TypeScript complaining about wrong types when using this signature.The text was updated successfully, but these errors were encountered: