Packages
A spellchecker for Elixir, made with Bun and cspell
Current section
Files
Jump to
Current section
Files
priv/bun/node_modules/cspell/dist/esm/repl/index.d.ts
export declare function simpleRepl(): AsyncIterable<string>;
export type CompleterResult = [string[], string];
export type Completer = (line: string) => CompleterResult;
export declare class SimpleRepl implements AsyncIterable<string> {
prompt: string;
beforeEach: undefined | (() => void);
completer: undefined | Completer;
private _history;
private rl;
constructor(prompt?: string);
question(query: string): Promise<string>;
private _completer;
get history(): string[];
[Symbol.asyncIterator](): {
next: () => Promise<IteratorResult<string, undefined>>;
};
}
//# sourceMappingURL=index.d.ts.map