ソースを参照

Removes unneeded public keyword

main
Eric Amodio 5年前
コミット
b44bdb0d26
4個のファイルの変更6行の追加6行の削除
  1. +1
    -1
      src/codelens/codeLensProvider.ts
  2. +1
    -1
      src/quickpicks/repoStatusQuickPick.ts
  3. +1
    -1
      src/views/repositoriesView.ts
  4. +3
    -3
      src/views/viewBase.ts

+ 1
- 1
src/codelens/codeLensProvider.ts ファイルの表示

@ -80,7 +80,7 @@ export class GitAuthorsCodeLens extends CodeLens {
export class GitCodeLensProvider implements CodeLensProvider {
private _onDidChangeCodeLenses = new EventEmitter<void>();
public get onDidChangeCodeLenses(): Event<void> {
get onDidChangeCodeLenses(): Event<void> {
return this._onDidChangeCodeLenses.event;
}

+ 1
- 1
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) {

+ 1
- 1
src/views/repositoriesView.ts ファイルの表示

@ -12,7 +12,7 @@ export class RepositoriesView extends ViewBase {
}
private _onDidChangeAutoRefresh = new EventEmitter<void>();
public get onDidChangeAutoRefresh(): Event<void> {
get onDidChangeAutoRefresh(): Event<void> {
return this._onDidChangeAutoRefresh.event;
}

+ 3
- 3
src/views/viewBase.ts ファイルの表示

@ -35,17 +35,17 @@ export interface TreeViewNodeStateChangeEvent extends TreeViewExpansionEvent<
export abstract class ViewBase<TRoot extends ViewNode<View>> implements TreeDataProvider<ViewNode>, Disposable {
protected _onDidChangeTreeData = new EventEmitter<ViewNode>();
public get onDidChangeTreeData(): Event<ViewNode> {
get onDidChangeTreeData(): Event<ViewNode> {
return this._onDidChangeTreeData.event;
}
private _onDidChangeVisibility = new EventEmitter<TreeViewVisibilityChangeEvent>();
public get onDidChangeVisibility(): Event<TreeViewVisibilityChangeEvent> {
get onDidChangeVisibility(): Event<TreeViewVisibilityChangeEvent> {
return this._onDidChangeVisibility.event;
}
private _onDidChangeNodeState = new EventEmitter<TreeViewNodeStateChangeEvent<ViewNode>>();
public get onDidChangeNodeState(): Event<TreeViewNodeStateChangeEvent<ViewNode>> {
get onDidChangeNodeState(): Event<TreeViewNodeStateChangeEvent<ViewNode>> {
return this._onDidChangeNodeState.event;
}

読み込み中…
キャンセル
保存