@docusaurus/module-type-aliases
Advanced tools
Comparing version 2.0.0-alpha.69 to 2.0.0-alpha.70
{ | ||
"name": "@docusaurus/module-type-aliases", | ||
"version": "2.0.0-alpha.69", | ||
"version": "2.0.0-alpha.70", | ||
"description": "Docusaurus module type aliases", | ||
@@ -20,3 +20,3 @@ "types": "./src/index.d.ts", | ||
"license": "MIT", | ||
"gitHead": "4410a9eb01b87c2df664986ba37e748ed34a3c78" | ||
"gitHead": "ae45b11bbb32513a8cb44da163f096c00868a21d" | ||
} |
@@ -50,2 +50,17 @@ /** | ||
declare module '@generated/i18n' { | ||
const i18n: { | ||
defaultLocale: string; | ||
locales: [string, ...string[]]; | ||
currentLocale: string; | ||
localeConfigs: Record<string, {label: string}>; | ||
}; | ||
export default i18n; | ||
} | ||
declare module '@generated/codeTranslations' { | ||
const codeTranslations: Record<string, string>; | ||
export default codeTranslations; | ||
} | ||
declare module '@theme/*'; | ||
@@ -73,2 +88,14 @@ | ||
declare module '@docusaurus/Translate' { | ||
type TranslateProps = {children: string; id?: string; description?: string}; | ||
const Translate: (props: TranslateProps) => JSX.Element; | ||
export default Translate; | ||
export function translate(param: { | ||
message: string; | ||
id?: string; | ||
description?: string; | ||
}): string; | ||
} | ||
declare module '@docusaurus/router' { | ||
@@ -75,0 +102,0 @@ export const Redirect: (props: {to: string}) => import('react').Component; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4703
106