cspell-lib
Version:
A library of useful functions used across various cspell tools.
11 lines • 416 B
TypeScript
import type { TextOffsetRO } from './ValidationTypes.js';
interface Dict {
has(word: string): boolean;
}
declare function hasWordCheck(dict: Dict, word: string): boolean;
export declare function isWordValidWithEscapeRetry(dict: Dict, wo: TextOffsetRO, line: TextOffsetRO): boolean;
export declare const __testing__: {
hasWordCheck: typeof hasWordCheck;
};
export {};
//# sourceMappingURL=isWordValid.d.ts.map