mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(bridge): define head
with vue-meta
type (#784)
This commit is contained in:
parent
743160702a
commit
2a0afbd092
3
packages/bridge/types.d.ts
vendored
3
packages/bridge/types.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import type {} from '@nuxt/nitro'
|
||||
import type { NuxtConfig as _NuxtConfig } from '@nuxt/kit'
|
||||
import type { MetaInfo } from 'vue-meta'
|
||||
|
||||
export interface BridgeConfig {
|
||||
nitro: boolean
|
||||
@ -19,11 +20,13 @@ export interface BridgeConfig {
|
||||
// TODO: Also inherit from @nuxt/types.NuxtConfig for legacy type compat
|
||||
export interface NuxtConfig extends _NuxtConfig {
|
||||
bridge?: Partial<BridgeConfig> | false
|
||||
head?: _NuxtConfig['head'] | MetaInfo
|
||||
}
|
||||
|
||||
declare module '@nuxt/kit' {
|
||||
interface ConfigSchema {
|
||||
bridge: BridgeConfig
|
||||
head: _NuxtConfig['head'] | MetaInfo
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user