taraskevizer
Version:
Канвэртацыя акадэмічнага правапісу ў клясычны
14 lines (13 loc) • 540 B
TypeScript
import type { CallableDict, Dict } from './types';
export declare const copyDict: <T extends [any, any][]>(dict: T) => T;
/**
* @returns function with property `value` that references the dictionary
* passed as an argument.
*
* It is possible to change the dictionary after initialization by modifying
* the `value` property.
*
* You can use {@link copyDict} before passing the dictionary to this function
*/
export declare const callableDict: (value: Dict) => CallableDict;
export declare const toOneLine: (str: string) => string;