@@ -146,7 +146,7 @@ function selectionInfosToSelections(
146146 */
147147export async function callFunctionAndUpdateSelections (
148148 rangeUpdater : RangeUpdater ,
149- func : ( ) => Thenable < void > ,
149+ func : ( ) => Promise < void > ,
150150 document : TextDocument ,
151151 selectionMatrix : ( readonly Selection [ ] ) [ ] ,
152152) : Promise < Selection [ ] [ ] > {
@@ -165,7 +165,7 @@ export async function callFunctionAndUpdateSelections(
165165
166166export async function callFunctionAndUpdateRanges (
167167 rangeUpdater : RangeUpdater ,
168- func : ( ) => Thenable < void > ,
168+ func : ( ) => Promise < void > ,
169169 document : TextDocument ,
170170 rangeMatrix : ( readonly Range [ ] ) [ ] ,
171171) : Promise < Range [ ] [ ] > {
@@ -190,7 +190,7 @@ export async function callFunctionAndUpdateRanges(
190190 */
191191export async function callFunctionAndUpdateSelectionInfos (
192192 rangeUpdater : RangeUpdater ,
193- func : ( ) => Thenable < void > ,
193+ func : ( ) => Promise < void > ,
194194 document : TextDocument ,
195195 selectionInfoMatrix : FullSelectionInfo [ ] [ ] ,
196196) {
@@ -217,7 +217,7 @@ export async function callFunctionAndUpdateSelectionInfos(
217217 */
218218export function callFunctionAndUpdateSelectionsWithBehavior (
219219 rangeUpdater : RangeUpdater ,
220- func : ( ) => Thenable < void > ,
220+ func : ( ) => Promise < void > ,
221221 document : TextDocument ,
222222 originalSelections : SelectionsWithBehavior [ ] ,
223223) {
0 commit comments