diff --git a/src/codelens/codeLensProvider.ts b/src/codelens/codeLensProvider.ts index df7b0c1..3c1871c 100644 --- a/src/codelens/codeLensProvider.ts +++ b/src/codelens/codeLensProvider.ts @@ -80,7 +80,7 @@ export class GitAuthorsCodeLens extends CodeLens { export class GitCodeLensProvider implements CodeLensProvider { private _onDidChangeCodeLenses = new EventEmitter(); - public get onDidChangeCodeLenses(): Event { + get onDidChangeCodeLenses(): Event { return this._onDidChangeCodeLenses.event; } diff --git a/src/quickpicks/repoStatusQuickPick.ts b/src/quickpicks/repoStatusQuickPick.ts index d4a890b..e1ed031 100644 --- a/src/quickpicks/repoStatusQuickPick.ts +++ b/src/quickpicks/repoStatusQuickPick.ts @@ -30,7 +30,7 @@ import { } from './commonQuickPicks'; export class OpenStatusFileCommandQuickPickItem extends OpenFileCommandQuickPickItem { - public readonly status: GitStatusFile; + readonly status: GitStatusFile; private readonly commit: GitLogCommit; constructor(status: GitStatusFile, realIndexStatus?: GitFileStatus, item?: QuickPickItem) { diff --git a/src/views/repositoriesView.ts b/src/views/repositoriesView.ts index 3a26ee6..5d7fe35 100644 --- a/src/views/repositoriesView.ts +++ b/src/views/repositoriesView.ts @@ -12,7 +12,7 @@ export class RepositoriesView extends ViewBase { } private _onDidChangeAutoRefresh = new EventEmitter(); - public get onDidChangeAutoRefresh(): Event { + get onDidChangeAutoRefresh(): Event { return this._onDidChangeAutoRefresh.event; } diff --git a/src/views/viewBase.ts b/src/views/viewBase.ts index 9d20b1a..554f29a 100644 --- a/src/views/viewBase.ts +++ b/src/views/viewBase.ts @@ -35,17 +35,17 @@ export interface TreeViewNodeStateChangeEvent extends TreeViewExpansionEvent< export abstract class ViewBase> implements TreeDataProvider, Disposable { protected _onDidChangeTreeData = new EventEmitter(); - public get onDidChangeTreeData(): Event { + get onDidChangeTreeData(): Event { return this._onDidChangeTreeData.event; } private _onDidChangeVisibility = new EventEmitter(); - public get onDidChangeVisibility(): Event { + get onDidChangeVisibility(): Event { return this._onDidChangeVisibility.event; } private _onDidChangeNodeState = new EventEmitter>(); - public get onDidChangeNodeState(): Event> { + get onDidChangeNodeState(): Event> { return this._onDidChangeNodeState.event; }