chore(typescript): fix typed imports (#72)

This commit is contained in:
Sylvain Marroufin
2022-07-25 18:45:37 +02:00
committed by GitHub
parent 2ae17ed919
commit f9dbe28938

View File

@@ -1,6 +1,6 @@
import { Ref } from 'vue'
import type { Ref } from 'vue'
import { defineNuxtPlugin, useState } from '#app'
import { ToastNotification } from '../types'
import type { ToastNotification } from '../types'
export default defineNuxtPlugin(() => {
const notifications: Ref<ToastNotification[]> = useState('notifications', () => [])