'use strict' ; import { injectable } from 'inversify' ; import * as vscode from 'vscode' ; import { IApplicationShell } from './types' ; @ injectable ( ) export class ApplicationShell implements IApplicationShell { public showInformationMessage ( message , ... items ) ; public showInformationMessage ( message , options , ... items ) ; public showInformationMessage < T extends vscode . MessageItem > ( message , ... items ) ; public showInformationMessage < T extends vscode . MessageItem > ( message , options , ... items ) ; public showInformationMessage ( message , options ? , ... items ) { return vscode . window . showInformationMessage ( message , options , ... items ) ; } public showWarningMessage ( message , ... items ) ; public showWarningMessage ( message , options , ... items ) ; public showWarningMessage < T extends vscode . MessageItem > ( message , ... items ) ; public showWarningMessage < T extends vscode . MessageItem > ( message , options , ... items ) ; public showWarningMessage ( message , options ? , ... items ) { return vscode . window . showWarningMessage ( message , options , ... items ) ; } public showErrorMessage ( message , ... items ) ; public showErrorMessage ( message , options , ... items ) ; public showErrorMessage < T extends vscode . MessageItem > ( message , ... items ) ; public showErrorMessage < T extends vscode . MessageItem > ( message , options , ... items ) ; public showErrorMessage ( message , options ? , ... items ) { return vscode . window . showErrorMessage ( message , options , ... items ) ; } public showQuickPick ( items , options ? , token ? ) ; public showQuickPick < T extends vscode . QuickPickItem > ( items , options ? , token ? ) ; public showQuickPick ( items , options ? , token ? ) { return vscode . window . showQuickPick ( items , options , token ) ; } public showOpenDialog ( options ) { return vscode . window . showOpenDialog ( options ) ; } public showSaveDialog ( options ) { return vscode . window . showSaveDialog ( options ) ; } public showInputBox ( options ? , token ? ) { return vscode . window . showInputBox ( options , token ) ; } }