mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Enable no-unsafe-assignments for MSSQL (#23407)
* Enable no-unsafe-assignments for MSSQL * Remove toString
This commit is contained in:
@@ -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);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user