simplify-traditional
Version:
Convert between Chinese Simplify and Hongkong or Taiwan Traditional chars 中文简体 和 台湾,香港繁体转换
16 lines (15 loc) • 504 B
TypeScript
export function Translate(): void;
export class Translate {
/**
* 转繁体中文
* @param {any} text 原文本
* @param {any} type 0、繁体中文,1、港澳繁体,2、台湾正体
*/
ToTraditionalChinese: (text: any, type: any) => any;
/**
* 转简体中文
* @param {any} text 原文本
* @param {any} srcType 0、繁体中文,1、港澳繁体,2、台湾正体
*/
ToSimplifiedChinese: (text: any, srcType: any) => any;
}