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

@@ -36,7 +36,7 @@ export function registerTableDesignerCommands(appContext: AppContext) {
isNewTable: true,
id: generateUuid(),
connectionString: connectionString,
accessToken: context.connectionProfile!.options.azureAccountToken,
accessToken: context.connectionProfile!.options.azureAccountToken as string,
tableIcon: tableIcon
}, telemetryInfo, context);
} catch (error) {
@@ -68,7 +68,7 @@ export function registerTableDesignerCommands(appContext: AppContext) {
schema: schema,
id: `${sqlProviderName}|${server}|${database}|${schema}|${name}`,
connectionString: connectionString,
accessToken: context.connectionProfile!.options.azureAccountToken,
accessToken: context.connectionProfile!.options.azureAccountToken as string,
tableIcon: tableIcon
}, telemetryInfo, context);
} catch (error) {