mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
@types/documentdb: Use specified return type in queryDocuments (#27021)
`queryDocuments` already has a type variable but it is not being used in the return type. This PR simply merges the RetrievedDocument type with the input type.
This commit is contained in:
parent
ebcb52fb25
commit
8c23206f59
2
types/documentdb/index.d.ts
vendored
2
types/documentdb/index.d.ts
vendored
@ -802,7 +802,7 @@ export class DocumentClient {
|
||||
* @param [options] - Represents the feed options.
|
||||
* @returns - An instance of queryIterator to handle reading feed.
|
||||
*/
|
||||
queryDocuments<TDocument>(collectionLink: string, query: DocumentQuery, options?: FeedOptions): QueryIterator<RetrievedDocument>;
|
||||
queryDocuments<TDocument>(collectionLink: string, query: DocumentQuery, options?: FeedOptions): QueryIterator<RetrievedDocument & TDocument>;
|
||||
|
||||
/**
|
||||
* Query the triggers for the collection.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user