Skip to content

Commit

Permalink
fix: fixed exported Type causing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
victorgarciaesgi committed Apr 13, 2023
1 parent d7132ff commit 5d251fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/output/generators/files/index.file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export function createIndexFile(): string {
)}
${returnIfTrue(
i18n,
`export {useLocalePath, useLocaleRoute, TypedToLocalePath, TypedLocaleRoute} from './__i18n-router';`
`export {useLocalePath, useLocaleRoute} from './__i18n-router';
export type {TypedToLocalePath, TypedLocaleRoute} from './__i18n-router';`
)}
Expand Down

1 comment on commit 5d251fc

@vercel
Copy link

@vercel vercel bot commented on 5d251fc Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.