cspell-lib
Version:
A library of useful functions used across various cspell tools.
10 lines • 527 B
TypeScript
import type { DictionaryId, DictionaryReference } from '@cspell/cspell-types';
export interface DictionaryReferenceCollection {
isEnabled(name: DictionaryId): boolean | undefined;
isBlocked(name: DictionaryId): boolean | undefined;
enabled(): DictionaryId[];
blocked(): DictionaryId[];
dictionaryIds: DictionaryId[];
}
export declare function createDictionaryReferenceCollection(dictionaries: DictionaryReference[]): DictionaryReferenceCollection;
//# sourceMappingURL=DictionaryReferenceCollection.d.ts.map