UNPKG

@novel-segment/stringify

Version:
13 lines (12 loc) 501 B
import { IWord } from '@novel-segment/types'; import { ITSArrayListMaybeReadonly } from 'ts-type/lib/type/base'; export type IStringifyWordInput = ITSArrayListMaybeReadonly<IWord | string>; export declare function stringifyList(words: IStringifyWordInput, ...argv: any[]): string[]; /** * 将单词数组连接成字符串 * * @param {Array} words 单词数组 * @return {String} */ export declare function stringify(words: IStringifyWordInput, ...argv: any[]): string; export default stringify;