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