Skip to content

Commit

Permalink
fix(theme-i18n): localizedPath not exported
Browse files Browse the repository at this point in the history
localizedPath is specified in index.d.ts but it is not actually exported by the package in index.js
  • Loading branch information
sweethuman committed Aug 25, 2021
1 parent a79377f commit 9f76278
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/gatsby-theme-i18n/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9f76278

Please sign in to comment.