多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
590 B

import type { RemovableRef } from '@vueuse/core'
import type { Api } from 'nocodb-sdk'
import type { I18n } from 'vue-i18n'
import type { GlobalState } from '~/lib/types'
import type messages from '@intlify/vite-plugin-vue-i18n/messages'
declare module '#app/nuxt' {
interface NuxtApp {
$api: Api<any>;
$tele: {
emit: (event: string, data: any) => void
}
// tele.emit
$e: (event: string, data?: any) => void
$state: GlobalState
}
}
declare module '@vue/runtime-core' {
interface App {
i18n: I18n<messages, unknown, unknown, false>['global']
}
}