Skip to content

Commit a8866e0

Browse files
authored
fix: add options for "toast" property in Nuxt Config (#263)
Fixes #262
1 parent 193c4b7 commit a8866e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/types/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ declare module "@nuxt/types" {
260260
interface NuxtAppOptions {
261261
$toast: ReturnType<typeof ToastInterface>;
262262
}
263+
264+
interface NuxtOptions {
265+
toast?: NuxtModuleOptions;
266+
}
263267
}
264268

265269
declare module "vuex/types/index" {

0 commit comments

Comments
 (0)