mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 18:00:43 +01:00
chore(typescript): fix typed imports (#72)
This commit is contained in:
committed by
GitHub
parent
2ae17ed919
commit
f9dbe28938
@@ -1,6 +1,6 @@
|
|||||||
import { Ref } from 'vue'
|
import type { Ref } from 'vue'
|
||||||
import { defineNuxtPlugin, useState } from '#app'
|
import { defineNuxtPlugin, useState } from '#app'
|
||||||
import { ToastNotification } from '../types'
|
import type { ToastNotification } from '../types'
|
||||||
|
|
||||||
export default defineNuxtPlugin(() => {
|
export default defineNuxtPlugin(() => {
|
||||||
const notifications: Ref<ToastNotification[]> = useState('notifications', () => [])
|
const notifications: Ref<ToastNotification[]> = useState('notifications', () => [])
|
||||||
|
|||||||
Reference in New Issue
Block a user