Inline object map type
It was only being used in one spot, so just inline this type
This commit is contained in:
parent
8c3e6cd9ee
commit
6f1fbfdd93
2 changed files with 1 additions and 9 deletions
|
@ -888,7 +888,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
|
|||
}
|
||||
|
||||
private dispatchTelemetryEvent(telemetryData: Proto.TelemetryEventBody): void {
|
||||
const properties: ObjectMap<string> = Object.create(null);
|
||||
const properties: { [key: string]: string } = Object.create(null);
|
||||
switch (telemetryData.telemetryEventName) {
|
||||
case 'typingsInstalled':
|
||||
const typingsInstalledPayload: Proto.TypingsInstalledTelemetryEventPayload = (telemetryData.payload as Proto.TypingsInstalledTelemetryEventPayload);
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
interface ObjectMap<V> {
|
||||
[key: string]: V;
|
||||
}
|
Loading…
Reference in a new issue