@steveyuowo/vue-hot-toast
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@steveyuowo/vue-hot-toast", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "files": [ |
import { reactive } from 'vue'; | ||
import { CreateToast, ToastProps, defaultToastOptions } from './type'; | ||
import { CreateToast, ToastOptions, ToastProps, defaultToastOptions } from './type'; | ||
import { createUUID } from './uuid'; | ||
@@ -12,3 +12,3 @@ | ||
export const toast: CreateToast = (options) => { | ||
export const toast: CreateToast = (options: ToastOptions) => { | ||
const _options = Object.assign({ ...defaultToastOptions }, options); | ||
@@ -15,0 +15,0 @@ |
20738