mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-31 12:17:54 +01:00
chore(plugins): remove types imports
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
import { useClipboard } from '@vueuse/core'
|
import { useClipboard } from '@vueuse/core'
|
||||||
import { defineNuxtPlugin } from '#app'
|
import { defineNuxtPlugin } from '#app'
|
||||||
import { ClipboardPlugin } from '../types'
|
|
||||||
|
|
||||||
export default defineNuxtPlugin((nuxtApp) => {
|
export default defineNuxtPlugin((nuxtApp) => {
|
||||||
const { copy: copyToClipboard, isSupported } = useClipboard()
|
const { copy: copyToClipboard, isSupported } = useClipboard()
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { Ref } from 'vue'
|
import { Ref } from 'vue'
|
||||||
import { defineNuxtPlugin, useState } from '#app'
|
import { defineNuxtPlugin, useState } from '#app'
|
||||||
import { ToastNotification, ToastPlugin } from '../types'
|
import { 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