Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
6
node_modules/next/dist/shared/lib/router/utils/add-locale.d.ts
generated
vendored
Normal file
6
node_modules/next/dist/shared/lib/router/utils/add-locale.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/**
|
||||
* For a given path and a locale, if the locale is given, it will prefix the
|
||||
* locale. The path shouldn't be an API path. If a default locale is given the
|
||||
* prefix will be omitted if the locale is already the default locale.
|
||||
*/
|
||||
export declare function addLocale(path: string, locale?: string | false, defaultLocale?: string, ignorePrefix?: boolean): string;
|
||||
Loading…
Add table
Add a link
Reference in a new issue