@docusaurus/module-type-aliases
Advanced tools
Comparing version 2.0.0-alpha.69 to 2.0.0-alpha.20114f5e0
{ | ||
"name": "@docusaurus/module-type-aliases", | ||
"version": "2.0.0-alpha.69", | ||
"version": "2.0.0-alpha.20114f5e0", | ||
"description": "Docusaurus module type aliases", | ||
@@ -20,3 +20,3 @@ "types": "./src/index.d.ts", | ||
"license": "MIT", | ||
"gitHead": "4410a9eb01b87c2df664986ba37e748ed34a3c78" | ||
"gitHead": "8158256723ace4bff31b107f69fb8e92bea63524" | ||
} |
@@ -50,2 +50,16 @@ /** | ||
declare module '@generated/i18n' { | ||
const i18n: { | ||
defaultLocale: string; | ||
locales: [string, ...string[]]; | ||
currentLocale: string; | ||
}; | ||
export default i18n; | ||
} | ||
declare module '@generated/codeTranslations' { | ||
const codeTranslations: Record<string, string>; | ||
export default codeTranslations; | ||
} | ||
declare module '@theme/*'; | ||
@@ -73,2 +87,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 +101,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
4658
105