mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
415 B
TypeScript
14 lines
415 B
TypeScript
// Type definitions for fast-chunk-string 1.0
|
|
// Project: https://github.com/vladgolubev/fast-chunk-string#readme
|
|
// Definitions by: Junxiao Shi <https://github.com/yoursunny>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
interface Options {
|
|
size: number;
|
|
unicodeAware?: boolean;
|
|
}
|
|
|
|
declare function fastChunkString(str: string, options: Options): string[];
|
|
|
|
export = fastChunkString;
|