@docusaurus/types
Advanced tools
Comparing version 2.0.0-alpha.656c04e1d to 2.0.0-alpha.6703f8420
{ | ||
"name": "@docusaurus/types", | ||
"version": "2.0.0-alpha.656c04e1d", | ||
"version": "2.0.0-alpha.6703f8420", | ||
"description": "Common used typings for Docusaurus packages", | ||
@@ -22,3 +22,3 @@ "main": "./src/index.js", | ||
}, | ||
"gitHead": "1560f17633d8f3a9e079cab9ffb1305473813d99" | ||
"gitHead": "42bae5f9b1942e1e98c320e1f83c058b76ab1827" | ||
} |
@@ -95,5 +95,10 @@ /** | ||
export type I18nLocaleConfig = { | ||
label: string; | ||
}; | ||
export type I18nConfig = { | ||
defaultLocale: string; | ||
locales: [string, ...string[]]; | ||
localeConfigs: Record<string, I18nLocaleConfig>; | ||
}; | ||
@@ -348,6 +353,6 @@ | ||
export interface MarkdownRightTableOfContents { | ||
export interface TOCItem { | ||
readonly value: string; | ||
readonly id: string; | ||
readonly children: MarkdownRightTableOfContents[]; | ||
readonly children: TOCItem[]; | ||
} |
10786
322