@@ -56,7 +56,7 @@ let isInstallingOrUpdatingDistribution = false;
5656 *
5757 * @param excludedCommands List of commands for which we should not register error stubs.
5858 */
59- function registerErrorStubs ( excludedCommands : string [ ] , stubGenerator : ( command : string ) => ( ) => void ) {
59+ function registerErrorStubs ( excludedCommands : string [ ] , stubGenerator : ( command : string ) => ( ) => void ) : void {
6060 // Remove existing stubs
6161 errorStubs . forEach ( stub => stub . dispose ( ) ) ;
6262
@@ -229,7 +229,7 @@ export async function activate(ctx: ExtensionContext): Promise<void> {
229229 } ) ;
230230}
231231
232- async function activateWithInstalledDistribution ( ctx : ExtensionContext , distributionManager : DistributionManager ) {
232+ async function activateWithInstalledDistribution ( ctx : ExtensionContext , distributionManager : DistributionManager ) : Promise < void > {
233233 beganMainExtensionActivation = true ;
234234 // Remove any error stubs command handlers left over from first part
235235 // of activation.
@@ -270,7 +270,7 @@ async function activateWithInstalledDistribution(ctx: ExtensionContext, distribu
270270 await intm . showResults ( query , forceReveal , false ) ;
271271 }
272272
273- async function compileAndRunQuery ( quickEval : boolean , selectedQuery : Uri | undefined ) {
273+ async function compileAndRunQuery ( quickEval : boolean , selectedQuery : Uri | undefined ) : Promise < void > {
274274 if ( qs !== undefined ) {
275275 try {
276276 const dbItem = await databaseUI . getDatabaseItem ( ) ;
@@ -294,7 +294,7 @@ async function activateWithInstalledDistribution(ctx: ExtensionContext, distribu
294294
295295 ctx . subscriptions . push ( tmpDirDisposal ) ;
296296
297- let client = new LanguageClient ( 'CodeQL Language Server' , ( ) => spawnIdeServer ( qlConfigurationListener ) , {
297+ const client = new LanguageClient ( 'CodeQL Language Server' , ( ) => spawnIdeServer ( qlConfigurationListener ) , {
298298 documentSelector : [
299299 { language : 'ql' , scheme : 'file' } ,
300300 { language : 'yaml' , scheme : 'file' , pattern : '**/qlpack.yml' }
0 commit comments