Skip to content

Commit 924dcef

Browse files
authored
Merge pull request #567 from scarf005/fix/nav-declare-global
fix(plugins/nav): add missing global declaration
2 parents c92897f + 5596ed7 commit 924dcef

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

plugins/nav.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,13 @@ function convert(temp: TempNavData, parent?: NavData, order?: string): NavData {
165165

166166
return data;
167167
}
168+
169+
/** Extends Data interface */
170+
declare global {
171+
namespace Lume {
172+
export interface Data {
173+
/** @see https://lume.land/plugins/nav/ */
174+
nav: Nav;
175+
}
176+
}
177+
}

0 commit comments

Comments
 (0)