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
+
1
3
interface Link {
2
4
text : string
3
5
to ?: string
@@ -11,7 +13,7 @@ interface FooterLinks {
11
13
links : Link [ ]
12
14
}
13
15
14
- export interface ModuleOptions {
16
+ interface PageModuleOptions {
15
17
/**
16
18
* Navigation options
17
19
*/
@@ -53,3 +55,5 @@ export interface ModuleOptions {
53
55
}
54
56
}
55
57
}
58
+
59
+ export type ModuleOptions = Omit < CoreModuleOptions , keyof PageModuleOptions > & PageModuleOptions
You can’t perform that action at this time.
0 commit comments