Upgrade to TypeScript 3.9 (#75)

This commit is contained in:
Steve Faulkner
2020-07-08 10:12:49 -05:00
committed by GitHub
parent 00bb39deb4
commit 604f87f318
8 changed files with 420 additions and 324 deletions

View File

@@ -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))
);
}