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 src/lib/index.js file currently lacks a type definition for SvelteToastOptions.
import{toast}from'@zerodevx/svelte-toast';// ❌ import type { SvelteToastOptions } from '@zerodevx/svelte-toast/stores'; /** "/stores" is not exposed */// 😔 export type SvelteToastOptions = Parameters<typeof toast.push>[1];functioncustomToast(message: string,options: SvelteToastOptions){toast(message,options);}
This change will offer a better development experience for developers using the SvelteToast library.
The text was updated successfully, but these errors were encountered:
domuk-k
added a commit
to domuk-k/svelte-toast
that referenced
this issue
Sep 13, 2024
The
src/lib/index.js
file currently lacks a type definition for SvelteToastOptions.This change will offer a better development experience for developers using the SvelteToast library.
The text was updated successfully, but these errors were encountered: