From 9f762788f7c22692adec5fa013c2dbaa349e70b6 Mon Sep 17 00:00:00 2001 From: Gheorghe Date: Wed, 25 Aug 2021 13:12:09 +0300 Subject: [PATCH] fix(theme-i18n): localizedPath not exported localizedPath is specified in index.d.ts but it is not actually exported by the package in index.js --- packages/gatsby-theme-i18n/index.d.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/gatsby-theme-i18n/index.d.ts b/packages/gatsby-theme-i18n/index.d.ts index a21ee3af..3794b62b 100755 --- a/packages/gatsby-theme-i18n/index.d.ts +++ b/packages/gatsby-theme-i18n/index.d.ts @@ -23,12 +23,6 @@ export function LocalizedRouter({ basePath, children, ...props }: { children: any; }): JSX.Element; export function LocalesList(): JSX.Element; -export function localizedPath({ defaultLang, prefixDefault, locale, path }: { - defaultLang: any; - prefixDefault: any; - locale: any; - path: any; -}): any; export function useLocalization(): { locale: string; defaultLang: any;