@lazy-cjk/util
Version:
24 lines (23 loc) • 576 B
TypeScript
/**
* Created by user on 2020/5/29.
*/
export interface IOptions {
coreJs?: boolean;
ignore?: boolean;
}
export declare function toStrTableArray(table: {
[k: string]: string;
}, options?: IOptions): {
from: string[];
to: string[];
};
export declare function toStrTable(table: {
[k: string]: string;
}, options?: IOptions): {
from: string;
to: string;
};
export declare function jsSplit(s: string): string[];
export declare function utf8Split(s: string): string[];
declare const _default: typeof import("./strtable");
export default _default;