Interface: SuggestionResult
Defined in: packages/cspell-trie-lib/dist/index.d.ts:333
Extends
SuggestionResultBase
Properties
compoundWord?
optionalcompoundWord?:string
Defined in: packages/cspell-trie-lib/dist/index.d.ts:335
The suggested word with compound marks, generally a •
cost
cost:
number
Defined in: packages/cspell-trie-lib/dist/index.d.ts:326
The edit cost 100 = 1 edit
Inherited from
SuggestionResultBase.cost
isPreferred?
optionalisPreferred?:boolean
Defined in: packages/cspell-trie-lib/dist/index.d.ts:331
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:324
The suggested word
Inherited from
SuggestionResultBase.word