mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 17:30:46 +00:00
Upgrade to TypeScript 3.9 (#75)
This commit is contained in:
@@ -447,7 +447,7 @@ export abstract class DataAccessUtilityBase {
|
||||
.database(databaseId)
|
||||
.container(collectionId)
|
||||
.read()
|
||||
.then(response => response.resource)
|
||||
.then(response => response.resource as DataModels.Collection)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -577,7 +577,7 @@ export abstract class DataAccessUtilityBase {
|
||||
}
|
||||
);
|
||||
})
|
||||
.then(containerResponse => containerResponse.resource)
|
||||
.then(containerResponse => containerResponse.resource as DataModels.Collection)
|
||||
.finally(() => this.refreshCachedResources(options))
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user