cspell-lib
Version:
A library of useful functions used across various cspell tools.
9 lines • 518 B
TypeScript
import type { CSpellUserSettings } from '@cspell/cspell-types';
import type { SpellingDictionaryCollection } from './SpellingDictionary/index.js';
/**
* Load a dictionary collection defined by the settings.
* @param settings - that defines the dictionaries and the ones to load.
* @returns a dictionary collection that represents all the enabled dictionaries.
*/
export declare function getDictionary(settings: CSpellUserSettings): Promise<SpellingDictionaryCollection>;
//# sourceMappingURL=getDictionary.d.ts.map