Skip to content

CompletionResult

Defined in: extensions/autocomplete/types.ts:76

from: number

Defined in: extensions/autocomplete/types.ts:78

The start of the range that’s being completed.


options: Completion[]

Defined in: extensions/autocomplete/types.ts:85

The completions returned by the source.


optional to: number

Defined in: extensions/autocomplete/types.ts:83

The end of the range that will be replaced when one of the options is selected. This is not used when sorting or filtering the options. Defaults to selectionEnd.