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
add index signature to $$Exports for mount() compatibility
The Svelte 5 mount() function returns Exports which must extend Record<string, any>.
Without an index signature, our generated $$Exports interface wasn't assignable to
Record<string, unknown>, causing false positives like:
'Type $$Exports is not assignable to Record<string, unknown>'
Adding [key: string]: any to $$Exports makes it compatible with the mount() return type.
0 commit comments