Merge branch 'feature/eslint' of https://github.com/a-tarasyuk/TypeScript into feature/eslint

This commit is contained in:
Alexander
2019-07-30 19:34:10 +03:00
4 changed files with 3 additions and 12 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ namespace ts.server {
readonly data: ProjectInfoTelemetryEventData;
}
/**
/*
* __GDPR__
* "projectInfo" : {
* "${include}": ["${TypeScriptCommonProperties}"],
+1 -1
View File
@@ -2883,7 +2883,7 @@ namespace ts.server.protocol {
payload: TypingsInstalledTelemetryEventPayload;
}
/**
/*
* __GDPR__
* "typingsinstalled" : {
* "${include}": ["${TypeScriptCommonProperties}"],
+1 -1
View File
@@ -457,7 +457,7 @@ namespace ts.formatting {
return context.currentTokenSpan.kind === SyntaxKind.EqualsToken || context.nextTokenSpan.kind === SyntaxKind.EqualsToken;
// "in" keyword in for (let x in []) { }
case SyntaxKind.ForInStatement:
// "in" keyword in [P in keyof T]: T[P];
// "in" keyword in [P in keyof T]: T[P]
// falls through
case SyntaxKind.TypeParameter:
return context.currentTokenSpan.kind === SyntaxKind.InKeyword || context.nextTokenSpan.kind === SyntaxKind.InKeyword || context.currentTokenSpan.kind === SyntaxKind.EqualsToken || context.nextTokenSpan.kind === SyntaxKind.EqualsToken;
-9
View File
@@ -8086,15 +8086,6 @@ declare namespace ts.server.protocol {
telemetryEventName: TypingsInstalledTelemetryEventName;
payload: TypingsInstalledTelemetryEventPayload;
}
/**
* __GDPR__
* "typingsinstalled" : {
* "${include}": ["${TypeScriptCommonProperties}"],
* "installedPackages": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
* "installSuccess": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
* "typingsInstallerVersion": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
* }
*/
interface TypingsInstalledTelemetryEventPayload {
/**
* Comma separated list of installed typing packages