remove type assertion

This commit is contained in:
Sandeep Somavarapu
2019-04-09 16:04:44 +02:00
parent f3e1c7dbab
commit 704af9ddec

View File

@@ -186,7 +186,7 @@ export class ExtHostOutputService implements ExtHostOutputServiceShape {
} else {
const extHostOutputChannel = createExtHostOutputChannel(name, this._outputDir, this._proxy);
extHostOutputChannel.then(channel => channel._id.then(id => this._channels.set(id, channel)));
return <vscode.OutputChannel>{
return {
get name(): string {
return name;
},