Add more folders to strict compile (#8954)

* add more folders to strictire compile, add more strict compile options

* update ci

* remove unnecessary assertion
This commit is contained in:
Anthony Dresser
2020-01-27 16:26:49 -08:00
committed by GitHub
parent fefe1454de
commit 64929de09d
81 changed files with 630 additions and 644 deletions

View File

@@ -10,62 +10,56 @@ import { StopWatch } from 'vs/base/common/stopwatch';
/**
* Information for a document's connection. Exported for testing purposes.
*/
export class ConnectionManagementInfo {
export interface ConnectionManagementInfo {
/**
* Connection GUID returned from the service host
*/
public connectionId: string;
connectionId?: string;
public providerId: string;
providerId: string;
/**
* Credentials used to connect
*/
public connectionProfile: ConnectionProfile;
connectionProfile: ConnectionProfile;
/**
* Callback for when a connection notification is received.
*/
public connectHandler: (result: boolean, errorMessage?: string, errorCode?: number, callStack?: string) => void;
/**
* Information about the SQL Server instance.
*/
//public serverInfo: ConnectionContracts.ServerInfo;
connectHandler?: (result: boolean, errorMessage?: string, errorCode?: number, callStack?: string) => void;
/**
* Timer for tracking extension connection time.
*/
public extensionTimer: StopWatch;
extensionTimer: StopWatch;
/**
* Timer for tracking service connection time.
*/
public serviceTimer: StopWatch;
serviceTimer: StopWatch;
/**
* Timer for tracking intelliSense activation time.
*/
public intelliSenseTimer: StopWatch;
intelliSenseTimer: StopWatch;
/**
* Whether the connection is in the process of connecting.
*/
public connecting: boolean;
connecting: boolean;
/**
* Whether the connection should be deleted after connection is complete.
*/
public deleted: boolean;
deleted?: boolean;
/**
* Information about the connected server.
*/
serverInfo: azdata.ServerInfo;
serverInfo?: azdata.ServerInfo;
/**
* Owner uri assigned to the connection
*/
public ownerUri: string;
ownerUri: string;
}