Interface: SuggestedWord
Defined in: packages/cspell-lib/src/lib/suggestions.ts:39
Extends
SuggestedWordBase
Properties
compoundWord?
optional
compoundWord:string
Defined in: packages/cspell-trie-lib/dist/index.d.ts:287
The suggested word with compound marks, generally a •
Inherited from
SuggestedWordBase.compoundWord
cost
cost:
number
Defined in: packages/cspell-trie-lib/dist/index.d.ts:278
The edit cost 100 = 1 edit
Inherited from
SuggestedWordBase.cost
dictionaries
dictionaries:
string
[]
Defined in: packages/cspell-lib/src/lib/suggestions.ts:36
dictionary names
Inherited from
SuggestedWordBase.dictionaries
forbidden
forbidden:
boolean
Defined in: packages/cspell-lib/src/lib/suggestions.ts:41
isPreferred?
optional
isPreferred:boolean
Defined in: packages/cspell-trie-lib/dist/index.d.ts:283
This suggestion is the preferred suggestion.
Setting this to true
implies that an auto fix is possible.
Inherited from
SuggestedWordBase.isPreferred
noSuggest
noSuggest:
boolean
Defined in: packages/cspell-lib/src/lib/suggestions.ts:40
word
word:
string
Defined in: packages/cspell-trie-lib/dist/index.d.ts:276
The suggested word
Inherited from
SuggestedWordBase.word
wordAdjustedToMatchCase?
optional
wordAdjustedToMatchCase:string
Defined in: packages/cspell-lib/src/lib/suggestions.ts:29
The suggested word adjusted to match the original case.
Inherited from
SuggestedWordBase.wordAdjustedToMatchCase