You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
613 B
13 lines
613 B
export interface WordDictionary { |
|
[index: string]: boolean; |
|
} |
|
export declare type WordSet = Set<string>; |
|
/** |
|
* Reads words from a file. It will not throw and error. |
|
* @param filename the file to read |
|
*/ |
|
export declare function loadWordsNoError(filename: string): Promise<Generator<string, void, undefined>>; |
|
export declare function splitLine(line: string): string[]; |
|
export declare function splitCodeWords(words: string[]): string[]; |
|
export declare function splitLineIntoCodeWords(line: string): IterableIterator<string>; |
|
export declare function splitLineIntoWords(line: string): IterableIterator<string>;
|
|
|