Skip to content

Commit d596c01

Browse files
committed
refactor: simplify types
1 parent f318ba2 commit d596c01

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/types.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ interface Link {
1616
icon?: string
1717
openInNew?: boolean
1818
}
19-
interface FooterLinks {
20-
title: string
21-
links: Link[]
22-
}
2319

2420
// Page interface
2521
interface PageModuleOptions {
@@ -29,7 +25,10 @@ interface PageModuleOptions {
2925
navigation?: {
3026
primary?: Link[]
3127
secondary?: Link[]
32-
footerPrimary?: FooterLinks[]
28+
footerPrimary?: {
29+
title: string
30+
links: Link[]
31+
}[]
3332
footerSecondary?: Link[]
3433
}
3534

0 commit comments

Comments
 (0)