optionalReplacementSpan

abstract external var optionalReplacementSpan: TextSpan?(source)

In the absence of CompletionEntry["replacementSpan"], the editor may choose whether to use this span or its default one. If CompletionEntry["replacementSpan"] is defined, that span must be used to commit that completion entry.