mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
Mark public static fields readonly
This commit is contained in:
@@ -37,7 +37,7 @@ export namespace ExtHostCustomersRegistry {
|
||||
|
||||
class ExtHostCustomersRegistryImpl {
|
||||
|
||||
public static INSTANCE = new ExtHostCustomersRegistryImpl();
|
||||
public static readonly INSTANCE = new ExtHostCustomersRegistryImpl();
|
||||
|
||||
private _namedCustomers: IExtHostNamedCustomer<any>[];
|
||||
private _customers: IExtHostCustomerCtor<any>[];
|
||||
|
||||
@@ -45,7 +45,7 @@ export interface IExtensionAPI {
|
||||
|
||||
export class ExtensionActivationTimes {
|
||||
|
||||
public static NONE = new ExtensionActivationTimes(false, -1, -1, -1);
|
||||
public static readonly NONE = new ExtensionActivationTimes(false, -1, -1, -1);
|
||||
|
||||
public readonly startup: boolean;
|
||||
public readonly codeLoadingTime: number;
|
||||
|
||||
Reference in New Issue
Block a user