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/6929/head
parent
78e02565d2
commit
d5370f23d3
Loading…
Reference in new issue