mirror of https://github.com/sveltejs/svelte
[fix] more specific return type for crossfade (#6927)
People with "noUncheckedIndexedAccess" set to true in their tsconfig would get false errors when accessing the return type because without this specific tuple typing, TS infers the return type as being an array of functions, not a tuple of functions. Fixes #6926pull/7738/head
parent
8293bc3b51
commit
00e6b61f05
Loading…
Reference in new issue