@@ -23,7 +23,7 @@ export interface IExtensionCommandQuickPickItem extends vscode.QuickPickItem {
2323}
2424
2525export const InvokeExtensionCommandRequestType =
26- new RequestType < IInvokeExtensionCommandRequestArguments , void , void , void > (
26+ new RequestType < IInvokeExtensionCommandRequestArguments , void , void > (
2727 "powerShell/invokeExtensionCommand" ) ;
2828
2929export interface IEditorContext {
@@ -40,7 +40,7 @@ export interface IInvokeExtensionCommandRequestArguments {
4040}
4141
4242export const ExtensionCommandAddedNotificationType =
43- new NotificationType < IExtensionCommandAddedNotificationBody , void > (
43+ new NotificationType < IExtensionCommandAddedNotificationBody > (
4444 "powerShell/extensionCommandAdded" ) ;
4545
4646export interface IExtensionCommandAddedNotificationBody {
@@ -91,7 +91,7 @@ function asCodePosition(value: Position): vscode.Position {
9191}
9292
9393export const GetEditorContextRequestType =
94- new RequestType < IGetEditorContextRequestArguments , IEditorContext , void , void > (
94+ new RequestType < IGetEditorContextRequestArguments , IEditorContext , void > (
9595 "editor/getEditorContext" ) ;
9696
9797// tslint:disable-next-line:no-empty-interface
@@ -104,7 +104,7 @@ enum EditorOperationResponse {
104104}
105105
106106export const InsertTextRequestType =
107- new RequestType < IInsertTextRequestArguments , EditorOperationResponse , void , void > (
107+ new RequestType < IInsertTextRequestArguments , EditorOperationResponse , void > (
108108 "editor/insertText" ) ;
109109
110110export interface IInsertTextRequestArguments {
@@ -114,15 +114,15 @@ export interface IInsertTextRequestArguments {
114114}
115115
116116export const SetSelectionRequestType =
117- new RequestType < ISetSelectionRequestArguments , EditorOperationResponse , void , void > (
117+ new RequestType < ISetSelectionRequestArguments , EditorOperationResponse , void > (
118118 "editor/setSelection" ) ;
119119
120120export interface ISetSelectionRequestArguments {
121121 selectionRange : Range ;
122122}
123123
124124export const OpenFileRequestType =
125- new RequestType < IOpenFileDetails , EditorOperationResponse , void , void > (
125+ new RequestType < IOpenFileDetails , EditorOperationResponse , void > (
126126 "editor/openFile" ) ;
127127
128128export interface IOpenFileDetails {
@@ -131,31 +131,31 @@ export interface IOpenFileDetails {
131131}
132132
133133export const NewFileRequestType =
134- new RequestType < string , EditorOperationResponse , void , void > (
134+ new RequestType < string , EditorOperationResponse , void > (
135135 "editor/newFile" ) ;
136136
137137export const CloseFileRequestType =
138- new RequestType < string , EditorOperationResponse , void , void > (
138+ new RequestType < string , EditorOperationResponse , void > (
139139 "editor/closeFile" ) ;
140140
141141export const SaveFileRequestType =
142- new RequestType < ISaveFileDetails , EditorOperationResponse , void , void > (
142+ new RequestType < ISaveFileDetails , EditorOperationResponse , void > (
143143 "editor/saveFile" ) ;
144144
145145export const ShowErrorMessageRequestType =
146- new RequestType < string , EditorOperationResponse , void , void > (
146+ new RequestType < string , EditorOperationResponse , void > (
147147 "editor/showErrorMessage" ) ;
148148
149149export const ShowWarningMessageRequestType =
150- new RequestType < string , EditorOperationResponse , void , void > (
150+ new RequestType < string , EditorOperationResponse , void > (
151151 "editor/showWarningMessage" ) ;
152152
153153export const ShowInformationMessageRequestType =
154- new RequestType < string , EditorOperationResponse , void , void > (
154+ new RequestType < string , EditorOperationResponse , void > (
155155 "editor/showInformationMessage" ) ;
156156
157157export const SetStatusBarMessageRequestType =
158- new RequestType < IStatusBarMessageDetails , EditorOperationResponse , void , void > (
158+ new RequestType < IStatusBarMessageDetails , EditorOperationResponse , void > (
159159 "editor/setStatusBarMessage" ) ;
160160
161161export const ClearTerminalNotificationType =
0 commit comments