Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
16
node_modules/next/dist/server/normalizers/locale-route-normalizer.d.ts
generated
vendored
Normal file
16
node_modules/next/dist/server/normalizers/locale-route-normalizer.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import type { I18NProvider } from '../lib/i18n-provider';
|
||||
import type { Normalizer } from './normalizer';
|
||||
/**
|
||||
* Normalizes the pathname by removing the locale prefix if any.
|
||||
*/
|
||||
export declare class LocaleRouteNormalizer implements Normalizer {
|
||||
private readonly provider;
|
||||
constructor(provider: I18NProvider);
|
||||
/**
|
||||
* Normalizes the pathname by removing the locale prefix if any.
|
||||
*
|
||||
* @param pathname The pathname to normalize.
|
||||
* @returns The pathname without the locale prefix (if any).
|
||||
*/
|
||||
normalize(pathname: string): string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue