@@ -53,7 +53,7 @@ import { StateService } from 'vs/platform/state/node/stateService';
53
53
import { resolveCommonProperties } from 'vs/platform/telemetry/common/commonProperties' ;
54
54
import { ITelemetryService , machineIdKey } from 'vs/platform/telemetry/common/telemetry' ;
55
55
import { ITelemetryServiceConfig , TelemetryService } from 'vs/platform/telemetry/common/telemetryService' ;
56
- import { supportsTelemetry , NullTelemetryService , getPiiPathsFromEnvironment , isInternalTelemetry } from 'vs/platform/telemetry/common/telemetryUtils' ;
56
+ import { supportsTelemetry , NullTelemetryService , getPiiPathsFromEnvironment , isInternalTelemetry , ITelemetryAppender } from 'vs/platform/telemetry/common/telemetryUtils' ;
57
57
import { OneDataSystemAppender } from 'vs/platform/telemetry/node/1dsAppender' ;
58
58
import { buildTelemetryMessage } from 'vs/platform/telemetry/node/telemetry' ;
59
59
import { IUriIdentityService } from 'vs/platform/uriIdentity/common/uriIdentity' ;
@@ -105,7 +105,7 @@ class CliMain extends Disposable {
105
105
} ) ;
106
106
}
107
107
108
- private async initServices ( ) : Promise < [ IInstantiationService , OneDataSystemAppender [ ] ] > {
108
+ private async initServices ( ) : Promise < [ IInstantiationService , ITelemetryAppender [ ] ] > {
109
109
const services = new ServiceCollection ( ) ;
110
110
111
111
// Product
@@ -190,7 +190,7 @@ class CliMain extends Disposable {
190
190
services . set ( ILanguagePackService , new SyncDescriptor ( NativeLanguagePackService , undefined , false ) ) ;
191
191
192
192
// Telemetry
193
- const appenders : OneDataSystemAppender [ ] = [ ] ;
193
+ const appenders : ITelemetryAppender [ ] = [ ] ;
194
194
const isInternal = isInternalTelemetry ( productService , configurationService ) ;
195
195
if ( supportsTelemetry ( productService , environmentService ) ) {
196
196
if ( productService . aiConfig && productService . aiConfig . ariaKey ) {
0 commit comments