dumi-theme-nocobase
Version:
<h1 align="center">dumi-theme-nocobase</h1>
10 lines (9 loc) • 341 B
TypeScript
import { useSiteData } from 'dumi';
type ILocaleItem = ReturnType<typeof useSiteData>['locales'][0];
export declare function getTargetLocalePath({ pathname, current, target }: {
pathname?: string;
current: ILocaleItem;
target: ILocaleItem;
}): string;
export declare const removeTitleCode: (title?: string) => string;
export {};