mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nuxt3): missing fixes for nuxt3/app (#631)
This commit is contained in:
parent
48458e4544
commit
3b4a0f19e3
6
packages/nuxt3/src/app/types/shims.d.ts
vendored
6
packages/nuxt3/src/app/types/shims.d.ts
vendored
@ -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
Block a user