Skip to content

CompletionResult

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

from: number

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

The start of the range that’s being completed.


options: Completion[]

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

The completions returned by the source.


optional to: number

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

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.