fix(nuxt3): missing fixes for nuxt3/app (#631)

This commit is contained in:
Daniel Roe 2021-10-03 00:39:13 +01:00 committed by GitHub
parent 48458e4544
commit 3b4a0f19e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}