@@ -16,17 +16,17 @@ import { ITextModelService } from 'vs/editor/common/services/resolverService';
1616import { MenuId , MenuRegistry } from 'vs/platform/actions/common/actions' ;
1717import { CommandsRegistry , ICommandHandlerDescription } from 'vs/platform/commands/common/commands' ;
1818import { ContextKeyExpr , IContextKeyService } from 'vs/platform/contextkey/common/contextkey' ;
19- import { IConstructorSignature1 , ServicesAccessor } from 'vs/platform/instantiation/common/instantiation' ;
19+ import { IConstructorSignature1 , ServicesAccessor as InstantiationServicesAccessor } from 'vs/platform/instantiation/common/instantiation' ;
2020import { IKeybindings , KeybindingsRegistry } from 'vs/platform/keybinding/common/keybindingsRegistry' ;
2121import { Registry } from 'vs/platform/registry/common/platform' ;
2222import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry' ;
2323import { withNullAsUndefined } from 'vs/base/common/types' ;
2424
25- export type ServicesAccessor = ServicesAccessor ;
25+ export type ServicesAccessor = InstantiationServicesAccessor ;
2626export type IEditorContributionCtor = IConstructorSignature1 < ICodeEditor , IEditorContribution > ;
2727export type EditorTelemetryDataFragment = {
28- target : { classification : 'SystemMetaData' , purpose : 'FeatureInsight' } ;
29- snippet : { classification : 'SystemMetaData' , purpose : 'FeatureInsight' , isMeasurement : true } ;
28+ target : { classification : 'SystemMetaData' , purpose : 'FeatureInsight' , } ;
29+ snippet : { classification : 'SystemMetaData' , purpose : 'FeatureInsight' , isMeasurement : true , } ;
3030} ;
3131
3232//#region Command
@@ -224,8 +224,8 @@ export abstract class EditorAction extends EditorCommand {
224224
225225 protected reportTelemetry ( accessor : ServicesAccessor , editor : ICodeEditor ) {
226226 type EditorActionInvokedClassification = {
227- name : { classification : 'SystemMetaData' , purpose : 'FeatureInsight' } ;
228- id : { classification : 'SystemMetaData' , purpose : 'FeatureInsight' } ;
227+ name : { classification : 'SystemMetaData' , purpose : 'FeatureInsight' , } ;
228+ id : { classification : 'SystemMetaData' , purpose : 'FeatureInsight' , } ;
229229 } ;
230230 type EditorActionInvokedEvent = {
231231 name : string ;
@@ -241,7 +241,7 @@ export abstract class EditorAction extends EditorCommand {
241241
242242// --- Registration of commands and actions
243243
244- export function registerLanguageCommand < Args extends { [ n : string ] : any } > ( id : string , handler : ( accessor : ServicesAccessor , args : Args ) => any ) {
244+ export function registerLanguageCommand < Args extends { [ n : string ] : any ; } > ( id : string , handler : ( accessor : ServicesAccessor , args : Args ) => any ) {
245245 CommandsRegistry . registerCommand ( id , ( accessor , args ) => handler ( accessor , args || { } ) ) ;
246246}
247247
0 commit comments