import { injectable } from 'inversify' ; import { Event , Terminal , TerminalOptions , window } from 'vscode' ; import { ITerminalManager } from './types' ; @ injectable ( ) export class TerminalManager implements ITerminalManager { public get onDidCloseTerminal ( ) : Event < Terminal > { return window . onDidCloseTerminal ; } public createTerminal ( options ) { return window . createTerminal ( options ) ; } }