@@ -146,7 +146,7 @@ function selectionInfosToSelections(
146
146
*/
147
147
export async function callFunctionAndUpdateSelections (
148
148
rangeUpdater : RangeUpdater ,
149
- func : ( ) => Thenable < void > ,
149
+ func : ( ) => Promise < void > ,
150
150
document : TextDocument ,
151
151
selectionMatrix : ( readonly Selection [ ] ) [ ] ,
152
152
) : Promise < Selection [ ] [ ] > {
@@ -165,7 +165,7 @@ export async function callFunctionAndUpdateSelections(
165
165
166
166
export async function callFunctionAndUpdateRanges (
167
167
rangeUpdater : RangeUpdater ,
168
- func : ( ) => Thenable < void > ,
168
+ func : ( ) => Promise < void > ,
169
169
document : TextDocument ,
170
170
rangeMatrix : ( readonly Range [ ] ) [ ] ,
171
171
) : Promise < Range [ ] [ ] > {
@@ -190,7 +190,7 @@ export async function callFunctionAndUpdateRanges(
190
190
*/
191
191
export async function callFunctionAndUpdateSelectionInfos (
192
192
rangeUpdater : RangeUpdater ,
193
- func : ( ) => Thenable < void > ,
193
+ func : ( ) => Promise < void > ,
194
194
document : TextDocument ,
195
195
selectionInfoMatrix : FullSelectionInfo [ ] [ ] ,
196
196
) {
@@ -217,7 +217,7 @@ export async function callFunctionAndUpdateSelectionInfos(
217
217
*/
218
218
export function callFunctionAndUpdateSelectionsWithBehavior (
219
219
rangeUpdater : RangeUpdater ,
220
- func : ( ) => Thenable < void > ,
220
+ func : ( ) => Promise < void > ,
221
221
document : TextDocument ,
222
222
originalSelections : SelectionsWithBehavior [ ] ,
223
223
) {
0 commit comments