提交 704af9dd 编写于 作者: S Sandeep Somavarapu

remove type assertion

上级 f3e1c7db
......@@ -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;
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册