Enable no-unsafe-assignments for MSSQL (#23407)

* Enable no-unsafe-assignments for MSSQL

* Remove toString
This commit is contained in:
Charles Gagnon
2023-06-18 10:01:41 -07:00
committed by GitHub
parent 1bed054668
commit cdece24123
58 changed files with 136 additions and 75 deletions

View File

@@ -11,11 +11,16 @@ import * as Constants from './constants';
import * as nls from 'vscode-nls';
import { ServerInfo } from 'azdata';
interface IPackageInfo {
name: string;
version: string;
aiKey: string;
}
const localize = nls.loadMessageBundle();
const viewKnownIssuesAction = localize('viewKnownIssuesText', "View Known Issues");
const packageInfo = vscode.extensions.getExtension(Constants.packageName)?.packageJSON;
const packageInfo = vscode.extensions.getExtension(Constants.packageName)?.packageJSON as IPackageInfo | undefined;
export const TelemetryReporter = new AdsTelemetryReporter<string, string>(packageInfo?.name, packageInfo?.version, packageInfo?.aiKey);
/**