mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Merge branch 'feature/eslint' of https://github.com/a-tarasyuk/TypeScript into feature/eslint
This commit is contained in:
@@ -48,7 +48,7 @@ namespace ts.server {
|
||||
readonly data: ProjectInfoTelemetryEventData;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* __GDPR__
|
||||
* "projectInfo" : {
|
||||
* "${include}": ["${TypeScriptCommonProperties}"],
|
||||
|
||||
@@ -2883,7 +2883,7 @@ namespace ts.server.protocol {
|
||||
payload: TypingsInstalledTelemetryEventPayload;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* __GDPR__
|
||||
* "typingsinstalled" : {
|
||||
* "${include}": ["${TypeScriptCommonProperties}"],
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user