mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 09:35:38 -05:00
Setup files for workbench/services to be strict compiled (#9168)
* setup services to be strict compiled. fix some of the issues * fix compile * fix compile * revert some undefined changes
This commit is contained in:
@@ -19,7 +19,7 @@ export interface IAdminService {
|
||||
|
||||
registerProvider(providerId: string, provider: azdata.AdminServicesProvider): void;
|
||||
|
||||
getDefaultDatabaseInfo(connectionUri: string): Thenable<azdata.DatabaseInfo>;
|
||||
getDefaultDatabaseInfo(connectionUri: string): Thenable<azdata.DatabaseInfo | undefined>;
|
||||
|
||||
getDatabaseInfo(connectionUri: string): Thenable<azdata.DatabaseInfo>;
|
||||
}
|
||||
@@ -48,7 +48,7 @@ export class AdminService implements IAdminService {
|
||||
}
|
||||
}
|
||||
|
||||
public getDefaultDatabaseInfo(connectionUri: string): Thenable<azdata.DatabaseInfo> {
|
||||
public getDefaultDatabaseInfo(connectionUri: string): Thenable<azdata.DatabaseInfo | undefined> {
|
||||
let providerId: string = this._connectionService.getProviderIdFromUri(connectionUri);
|
||||
if (providerId) {
|
||||
let provider = this._providers[providerId];
|
||||
|
||||
Reference in New Issue
Block a user