mirror of https://github.com/nuxt/nuxt.git
fix(nuxt3): missing fixes for nuxt3/app (#631)
This commit is contained in:
parent
48458e4544
commit
3b4a0f19e3
|
@ -1,6 +1,6 @@
|
|||
import { Component } from '@vue/runtime-core'
|
||||
import { $Fetch } from 'ohmyfetch'
|
||||
import { Nuxt } from '../dist'
|
||||
import { NuxtApp } from '../nuxt'
|
||||
|
||||
declare global {
|
||||
// eslint-disable-next-line no-var
|
||||
|
@ -28,9 +28,9 @@ declare module '*.vue' {
|
|||
export default Component
|
||||
}
|
||||
|
||||
declare module 'vue' {
|
||||
declare module '@vue/runtime-core' {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
interface App<HostElement> {
|
||||
$nuxt: Nuxt
|
||||
$nuxt: NuxtApp
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue