Skip to content

Commit 839ddf9

Browse files
committed
Update do for location based API commands.
1 parent 1bfb638 commit 839ddf9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/vs/workbench/api/common/extHostApiCommands.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,22 +143,22 @@ const newCommands: ApiCommand[] = [
143143
new ApiCommand(
144144
'vscode.executeDefinitionProvider', '_executeDefinitionProvider', 'Execute all definition providers.',
145145
[ApiCommandArgument.Uri, ApiCommandArgument.Position],
146-
new ApiCommandResult<(modes.Location | modes.LocationLink)[], (types.Location | vscode.LocationLink)[] | undefined>('A promise that resolves to an array of Location-instances.', mapLocationOrLocationLink)
146+
new ApiCommandResult<(modes.Location | modes.LocationLink)[], (types.Location | vscode.LocationLink)[] | undefined>('A promise that resolves to an array of Location or LocationLink instances.', mapLocationOrLocationLink)
147147
),
148148
new ApiCommand(
149149
'vscode.executeTypeDefinitionProvider', '_executeTypeDefinitionProvider', 'Execute all type definition providers.',
150150
[ApiCommandArgument.Uri, ApiCommandArgument.Position],
151-
new ApiCommandResult<(modes.Location | modes.LocationLink)[], (types.Location | vscode.LocationLink)[] | undefined>('A promise that resolves to an array of Location-instances.', mapLocationOrLocationLink)
151+
new ApiCommandResult<(modes.Location | modes.LocationLink)[], (types.Location | vscode.LocationLink)[] | undefined>('A promise that resolves to an array of Location or LocationLink instances.', mapLocationOrLocationLink)
152152
),
153153
new ApiCommand(
154154
'vscode.executeDeclarationProvider', '_executeDeclarationProvider', 'Execute all declaration providers.',
155155
[ApiCommandArgument.Uri, ApiCommandArgument.Position],
156-
new ApiCommandResult<(modes.Location | modes.LocationLink)[], (types.Location | vscode.LocationLink)[] | undefined>('A promise that resolves to an array of Location-instances.', mapLocationOrLocationLink)
156+
new ApiCommandResult<(modes.Location | modes.LocationLink)[], (types.Location | vscode.LocationLink)[] | undefined>('A promise that resolves to an array of Location or LocationLink instances.', mapLocationOrLocationLink)
157157
),
158158
new ApiCommand(
159159
'vscode.executeImplementationProvider', '_executeImplementationProvider', 'Execute all implementation providers.',
160160
[ApiCommandArgument.Uri, ApiCommandArgument.Position],
161-
new ApiCommandResult<(modes.Location | modes.LocationLink)[], (types.Location | vscode.LocationLink)[] | undefined>('A promise that resolves to an array of Location-instances.', mapLocationOrLocationLink)
161+
new ApiCommandResult<(modes.Location | modes.LocationLink)[], (types.Location | vscode.LocationLink)[] | undefined>('A promise that resolves to an array of Location or LocationLink instances.', mapLocationOrLocationLink)
162162
),
163163
new ApiCommand(
164164
'vscode.executeReferenceProvider', '_executeReferenceProvider', 'Execute all reference providers.',

0 commit comments

Comments
 (0)