@@ -135,7 +135,7 @@ export class SOQLEditorInstance {
135135 protected sendMessageToUi (
136136 type : MessageType ,
137137 payload ?: string | string [ ] | DescribeSObjectResult
138- ) : Effect . Effect < void > {
138+ ) {
139139 return Effect . promise < boolean > (
140140 ( ) => this . webviewPanel . webview . postMessage ( { type, payload } )
141141 ) . pipe (
@@ -149,7 +149,7 @@ export class SOQLEditorInstance {
149149 ) ;
150150 }
151151
152- protected updateWebview ( document : vscode . TextDocument ) : Effect . Effect < void > {
152+ protected updateWebview ( document : vscode . TextDocument ) {
153153 const self = this ;
154154 return Effect . gen ( function * ( ) {
155155 if ( self . pendingWebviewUpdate ) {
@@ -160,11 +160,11 @@ export class SOQLEditorInstance {
160160 } ) ;
161161 }
162162
163- protected updateSObjects ( sobjectNames : string [ ] ) : Effect . Effect < void > {
163+ protected updateSObjects ( sobjectNames : string [ ] ) {
164164 return this . sendMessageToUi ( 'sobjects_response' , sobjectNames ) ;
165165 }
166166
167- protected updateSObjectMetadata ( sobject : DescribeSObjectResult ) : Effect . Effect < void > {
167+ protected updateSObjectMetadata ( sobject : DescribeSObjectResult ) {
168168 return this . sendMessageToUi ( 'sobject_metadata_response' , sobject ) ;
169169 }
170170
@@ -266,7 +266,7 @@ export class SOQLEditorInstance {
266266 }
267267 } ;
268268
269- protected runQueryDone ( ) : Effect . Effect < void > {
269+ protected runQueryDone ( ) {
270270 return Effect . promise < boolean > ( ( ) =>
271271 this . webviewPanel . webview . postMessage ( { type : 'run_query_done' satisfies MessageType } )
272272 ) . pipe ( Effect . asVoid ) ;
@@ -294,5 +294,5 @@ export class SOQLEditorInstance {
294294 this . disposedCallback = callback ;
295295 }
296296
297- public onConnectionChanged = ( ) : Effect . Effect < void > => this . sendMessageToUi ( 'connection_changed' ) ;
297+ public onConnectionChanged = ( ) => this . sendMessageToUi ( 'connection_changed' ) ;
298298}
0 commit comments