check-param-names (#18189)

This commit is contained in:
Charles Gagnon
2022-01-31 12:39:22 -08:00
committed by GitHub
parent 7149bbd591
commit 1c9ba64ee0
47 changed files with 96 additions and 80 deletions

View File

@@ -182,7 +182,6 @@ export class ConnectionStatusManager {
* Only if the db name in the original uri is different when connection is complete, we need to use the original uri
* Returns the generated ownerUri for the connection profile if not existing connection found
* @param ownerUri connection owner uri to find an existing connection
* @param purpose purpose for the connection
*/
public getOriginalOwnerUri(ownerUri: string): string {
let ownerUriToReturn: string = ownerUri;

View File

@@ -106,7 +106,7 @@ export class ConnectionStore {
* Password values are stored to a separate credential store if the "savePassword" option is true
*
* @param profile the profile to save
* @param whether the plaintext password should be written to the settings file
* @param forceWritePlaintextPassword whether the plaintext password should be written to the settings file
* @returns a Promise that returns the original profile, for help in chaining calls
*/
public async saveProfile(profile: IConnectionProfile, forceWritePlaintextPassword?: boolean, matcher?: ProfileMatcher): Promise<IConnectionProfile> {
@@ -192,7 +192,6 @@ export class ConnectionStore {
* Password values are stored to a separate credential store if the "savePassword" option is true
*
* @param conn the connection to add
* @param addToMru Whether to add this connection to the MRU
* @returns a Promise that returns when the connection was saved
*/
public addRecentConnection(conn: IConnectionProfile): Promise<void> {

View File

@@ -157,7 +157,8 @@ export class AdsTelemetryService implements IAdsTelemetryService {
/**
* Sends a Metrics event. This is used to log measurements taken.
* @param measurements The metrics to send
* @param metrics The metrics to send
* @param groupName The name of the group these metrics belong to
*/
public sendMetricsEvent(metrics: ITelemetryEventMeasures, groupName: string = ''): void {
this.createMetricsEvent(metrics, groupName).send();
@@ -169,7 +170,6 @@ export class AdsTelemetryService implements IAdsTelemetryService {
* @param name The friendly name of the error
* @param errorCode The error code returned
* @param errorType The specific type of error
* @param properties Optional additional properties
*/
public createErrorEvent(view: string, name: string, errorCode: string = '', errorType: string = ''): ITelemetryEvent {
return new TelemetryEventImpl(this.telemetryService, this.logService, EventName.Error, {