File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1+ // Types
2+ import type { ModuleOptions } from '../../types'
3+
4+ import { useAppConfig } from '#imports'
5+
6+ export const useNuxtifyConfig = ( ) : ModuleOptions => useAppConfig ( ) . nuxtify
Original file line number Diff line number Diff line change 1+ import type { ModuleOptions as CoreModuleOptions } from '@nuxtify/core'
2+
13interface Link {
24 text : string
35 to ?: string
@@ -11,7 +13,7 @@ interface FooterLinks {
1113 links : Link [ ]
1214}
1315
14- export interface ModuleOptions {
16+ interface PageModuleOptions {
1517 /**
1618 * Navigation options
1719 */
@@ -53,3 +55,5 @@ export interface ModuleOptions {
5355 }
5456 }
5557}
58+
59+ export type ModuleOptions = Omit < CoreModuleOptions , keyof PageModuleOptions > & PageModuleOptions
You can’t perform that action at this time.
0 commit comments