Skip to content

Commit 957f6a0

Browse files
authored
Mark App interface properties as read-only (#1969)
1 parent 817db85 commit 957f6a0

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • extensions/ql-vscode/src/common

extensions/ql-vscode/src/common/app.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import { Memento } from "./memento";
66
export interface App {
77
createEventEmitter<T>(): AppEventEmitter<T>;
88
executeCommand(command: string, ...args: any): Thenable<void>;
9-
mode: AppMode;
10-
logger: Logger;
11-
subscriptions: Disposable[];
12-
extensionPath: string;
13-
globalStoragePath: string;
14-
workspaceStoragePath?: string;
15-
workspaceState: Memento;
9+
readonly mode: AppMode;
10+
readonly logger: Logger;
11+
readonly subscriptions: Disposable[];
12+
readonly extensionPath: string;
13+
readonly globalStoragePath: string;
14+
readonly workspaceStoragePath?: string;
15+
readonly workspaceState: Memento;
1616
}
1717

1818
export enum AppMode {

0 commit comments

Comments
 (0)