mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #31105 from abhiaiyer91/jsforce
Fix typings for jsforce: chatter and metadata
This commit is contained in:
Vendored
+2
@@ -41,6 +41,8 @@ export class Request<T> implements Promise<T> {
|
||||
then<TResult1, TResult2>(onfulfilled?: ((value: T) => (PromiseLike<TResult1> | TResult1)) | null | undefined,
|
||||
onrejected?: ((reason: any) => (PromiseLike<TResult2> | TResult2)) | null | undefined): Promise<TResult1 | TResult2>;
|
||||
|
||||
finally(onfinally?: () => void): Promise<T>;
|
||||
|
||||
thenCall(callback?: (err: Error, records: T) => void): Query<T>;
|
||||
|
||||
readonly [Symbol.toStringTag]: 'Promise';
|
||||
|
||||
Vendored
+2
@@ -124,6 +124,8 @@ export class AsyncResultLocator<T> extends EventEmitter implements Promise<T> {
|
||||
then<TResult1, TResult2>(onfulfilled?: ((value: T) => (PromiseLike<TResult1> | TResult1)) | null | undefined,
|
||||
onrejected?: ((reason: any) => (PromiseLike<TResult2> | TResult2)) | null | undefined): Promise<TResult1 | TResult2>;
|
||||
|
||||
finally(onfinally?: () => void): Promise<T>;
|
||||
|
||||
readonly [Symbol.toStringTag]: "Promise";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user