add strict compile for restore (#12067)

This commit is contained in:
Anthony Dresser
2020-09-02 11:58:30 -07:00
committed by GitHub
parent bfe694763b
commit 8b8bef0401
9 changed files with 214 additions and 230 deletions

4
src/sql/azdata.d.ts vendored
View File

@@ -1901,7 +1901,7 @@ declare module 'azdata' {
export interface RestoreInfo {
options: { [key: string]: any };
taskExecutionMode: TaskExecutionMode;
taskExecutionMode?: TaskExecutionMode;
}
export interface RestoreDatabaseFileInfo {
@@ -1939,7 +1939,7 @@ declare module 'azdata' {
sessionId: string;
backupSetsToRestore: DatabaseFileInfo[];
canRestore: boolean;
errorMessage: string;
errorMessage?: string;
dbFiles: RestoreDatabaseFileInfo[];
databaseNamesFromBackupSets: string[];
planDetails: { [key: string]: RestorePlanDetailInfo };