Skip to content

completionPrefix

completionPrefix(text, offset): string

Word being typed at offset, which is what the list should be filtered against. The server’s answer is for the moment the request was sent; the user has usually typed more since.

string

number

string