7 lines
203 B
Plaintext
7 lines
203 B
Plaintext
/**
|
|
* Get sequences of words and whitespaces from a string.
|
|
*
|
|
* e.g. "Hello world \n\n" -> ["Hello", " ", "world", " \n\n"]
|
|
*/
|
|
export declare function getWordsAndWhitespaces(text: string): string[];
|