Interface: SuggestionResult
Defined in: packages/cspell-trie-lib/dist/index.d.ts:304
Extends
SuggestionResultBase
Properties
compoundWord?
optionalcompoundWord:string
Defined in: packages/cspell-trie-lib/dist/index.d.ts:306
The suggested word with compound marks, generally a •
cost
cost:
number
Defined in: packages/cspell-trie-lib/dist/index.d.ts:297
The edit cost 100 = 1 edit
Inherited from
SuggestionResultBase.cost
isPreferred?
optionalisPreferred:boolean
Defined in: packages/cspell-trie-lib/dist/index.d.ts:302
This suggestion is the preferred suggestion.
Setting this to true implies that an auto fix is possible.
Inherited from
SuggestionResultBase.isPreferred
word
word:
string
Defined in: packages/cspell-trie-lib/dist/index.d.ts:295
The suggested word
Inherited from
SuggestionResultBase.word