Skip to content

Commit

Permalink
fix: Remove unnecessary type exports
Browse files Browse the repository at this point in the history
  • Loading branch information
osaton committed Nov 6, 2024
1 parent 7a4b178 commit afa3276
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 1 addition & 5 deletions packages/next-intl/src/navigation/react-client/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ export {default as createLocalizedPathnamesNavigation} from './createLocalizedPa
export {default as createNavigation} from './createNavigation';

export type {StrictParams} from '../shared/StrictParams';
export type {
HrefOrHrefWithParams,
HrefOrUrlObjectWithParams,
QueryParams
} from '../shared/utils';
export type {QueryParams} from '../shared/utils';

import type {
Locales,
Expand Down
5 changes: 2 additions & 3 deletions packages/next-intl/src/routing/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
export type {
Pathnames,
DomainsConfig,
DomainConfig,
LocalePrefixMode,
LocalePrefixes
LocalePrefix,
LocalePrefixMode
} from './types';
export type {InitializedLocaleCookieConfig} from './config';
export {default as defineRouting, type RoutingConfig} from './defineRouting';

0 comments on commit afa3276

Please sign in to comment.