@docusaurus/module-type-aliases
Advanced tools
Comparing version 2.0.0-alpha.69 to 2.0.0-alpha.378053ac5
{ | ||
"name": "@docusaurus/module-type-aliases", | ||
"version": "2.0.0-alpha.69", | ||
"version": "2.0.0-alpha.378053ac5", | ||
"description": "Docusaurus module type aliases", | ||
@@ -20,3 +20,3 @@ "types": "./src/index.d.ts", | ||
"license": "MIT", | ||
"gitHead": "4410a9eb01b87c2df664986ba37e748ed34a3c78" | ||
"gitHead": "de6131ca7167543245c4a468122559901a442519" | ||
} |
@@ -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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
1