提交 5e8f9cf1 编写于 作者: J Johannes Rieken

💄 code lens

上级 fcef0e3d
......@@ -25,9 +25,9 @@ class CodeLensViewZone implements IViewZone {
afterLineNumber: number;
private _lastHeight?: number;
private readonly _onHeight: Function;
private readonly _onHeight: () => void;
constructor(afterLineNumber: number, onHeight: Function) {
constructor(afterLineNumber: number, onHeight: () => void) {
this.afterLineNumber = afterLineNumber;
this._onHeight = onHeight;
......@@ -179,8 +179,8 @@ export class CodeLensWidget {
private readonly _editor: IActiveCodeEditor;
private readonly _className: string;
private readonly _viewZone!: CodeLensViewZone;
private readonly _viewZoneId!: string;
private readonly _viewZone: CodeLensViewZone;
private readonly _viewZoneId: string;
private _contentWidget?: CodeLensContentWidget;
private _decorationIds: string[];
......@@ -193,7 +193,7 @@ export class CodeLensWidget {
className: string,
helper: CodeLensHelper,
viewZoneChangeAccessor: IViewZoneChangeAccessor,
updateCallback: Function
updateCallback: () => void
) {
this._editor = editor;
this._className = className;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册