import { ExecuteCommandParams } from 'vscode-languageserver' ; import { LanguageServerInterface } from '../languageServerBase' ; import { ServerCommand } from './commandController' ; export class RestartServerCommand implements ServerCommand { constructor ( private _ls ) { } async execute ( cmdParams ) { this . _ls . restart ( ) ; } }