diff options
Diffstat (limited to 'src/vs/platform/telemetry/common/telemetry.ts')
-rw-r--r-- | src/vs/platform/telemetry/common/telemetry.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vs/platform/telemetry/common/telemetry.ts b/src/vs/platform/telemetry/common/telemetry.ts index be381cd790c..1577949b1e2 100644 --- a/src/vs/platform/telemetry/common/telemetry.ts +++ b/src/vs/platform/telemetry/common/telemetry.ts @@ -5,6 +5,7 @@ import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { ClassifiedEvent, GDPRClassification, StrictPropertyCheck } from 'vs/platform/telemetry/common/gdprTypings'; +import { IObservableValue } from 'vs/base/common/observableValue'; export const ITelemetryService = createDecorator<ITelemetryService>('telemetryService'); @@ -46,7 +47,7 @@ export interface ITelemetryService { setExperimentProperty(name: string, value: string): void; - telemetryLevel: TelemetryLevel; + readonly telemetryLevel: IObservableValue<TelemetryLevel>; } export interface ITelemetryEndpoint { |