提交 0137b582 编写于 作者: M Matt Bierner

Remove unused properties

上级 31b7b0bd
......@@ -338,8 +338,7 @@ export class PanelView implements IDisposable {
readonly onDidSashChange: Event<void>;
// @ts-ignore unused property
constructor(private container: HTMLElement, options: IPanelViewOptions = {}) {
constructor(container: HTMLElement, options: IPanelViewOptions = {}) {
this.dnd = !!options.dnd;
this.el = append(container, $('.monaco-panel-view'));
this.splitview = new SplitView(this.el);
......
......@@ -76,8 +76,7 @@ export class SplitView implements IDisposable {
get length(): number {
return this.viewItems.length;
}
// @ts-ignore unused property
constructor(private container: HTMLElement, options: ISplitViewOptions = {}) {
constructor(container: HTMLElement, options: ISplitViewOptions = {}) {
this.orientation = types.isUndefined(options.orientation) ? Orientation.VERTICAL : options.orientation;
this.el = document.createElement('div');
......
......@@ -18,8 +18,7 @@ export class Protocol implements IMessagePassingProtocol {
private _onMessage: Event<any>;
get onMessage(): Event<any> { return this._onMessage; }
// @ts-ignore unused property
constructor(private sender: Sender, private onMessageEvent: Event<any>) {
constructor(private sender: Sender, onMessageEvent: Event<any>) {
const emitter = new Emitter<any>();
onMessageEvent(msg => emitter.fire(msg));
this._onMessage = emitter.event;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册