mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix: preserve write
option in NuxtTypeTemplate
This commit is contained in:
parent
37d9bc5ce5
commit
7940c456b6
@ -38,7 +38,9 @@ export interface ResolvedNuxtTemplate<Options = Record<string, any>> extends Nux
|
||||
dst: string
|
||||
}
|
||||
|
||||
export type NuxtTypeTemplate<Options = Record<string, any>> = Omit<NuxtTemplate<Options>, 'write'>
|
||||
export interface NuxtTypeTemplate<Options = Record<string, any>> extends Omit<NuxtTemplate<Options>, 'write'> {
|
||||
write?: true
|
||||
}
|
||||
|
||||
type _TemplatePlugin<Options> = Omit<NuxtPlugin, 'src'> & NuxtTemplate<Options>
|
||||
export interface NuxtPluginTemplate<Options = Record<string, any>> extends _TemplatePlugin<Options> { }
|
||||
|
Loading…
Reference in New Issue
Block a user