diff --git a/types/jsforce/query.d.ts b/types/jsforce/query.d.ts index 90e5734253..42d258a48d 100644 --- a/types/jsforce/query.d.ts +++ b/types/jsforce/query.d.ts @@ -24,7 +24,7 @@ export class Query { delete(callback?: (err: Error, ret: RecordResult) => void): any; destroy(callback?: (err: Error, ret: RecordResult) => void): Promise; explain(callback?: (err: Error, info: ExplainInfo) => void): Promise; - map(callback: (currentValue: Object) => void): Promise; + map(callback: (currentValue: Object) => void): Promise; scanAll(value: boolean): Query; select(fields: Object | string[] | string): Query; then(onSuccess?: Function, onRejected?: Function): Promise;