Mark App interface properties as read-only (#1969)
This commit is contained in:
Родитель
817db85c36
Коммит
957f6a023c
|
@ -6,13 +6,13 @@ import { Memento } from "./memento";
|
|||
export interface App {
|
||||
createEventEmitter<T>(): AppEventEmitter<T>;
|
||||
executeCommand(command: string, ...args: any): Thenable<void>;
|
||||
mode: AppMode;
|
||||
logger: Logger;
|
||||
subscriptions: Disposable[];
|
||||
extensionPath: string;
|
||||
globalStoragePath: string;
|
||||
workspaceStoragePath?: string;
|
||||
workspaceState: Memento;
|
||||
readonly mode: AppMode;
|
||||
readonly logger: Logger;
|
||||
readonly subscriptions: Disposable[];
|
||||
readonly extensionPath: string;
|
||||
readonly globalStoragePath: string;
|
||||
readonly workspaceStoragePath?: string;
|
||||
readonly workspaceState: Memento;
|
||||
}
|
||||
|
||||
export enum AppMode {
|
||||
|
|
Загрузка…
Ссылка в новой задаче