diff --git a/types/jsforce/connection.d.ts b/types/jsforce/connection.d.ts index 9759d67a9d..fcf614eb92 100644 --- a/types/jsforce/connection.d.ts +++ b/types/jsforce/connection.d.ts @@ -114,13 +114,13 @@ export abstract class BaseConnection extends EventEmitter { callback?: (err: Error, result: RecordResult | RecordResult[]) => void): Promise<(RecordResult | RecordResult[])>; describe$: { /** Returns a value from the cache if it exists, otherwise calls Connection.describe */ - (type: string, callback?: (err: Error, result: DescribeSObjectResult) => void): DescribeSObjectResult; + (type: string, callback?: (err: Error, result: DescribeSObjectResult) => void): DescribeSObjectResult; clear(): void; } - describe(type: string, callback?: (err: Error, result: DescribeSObjectResult) => void): Promise; + describe(type: string, callback?: (err: Error, result: DescribeSObjectResult) => void): Promise; describeGlobal$: { /** Returns a value from the cache if it exists, otherwise calls Connection.describeGlobal */ - (callback?: (err: Error, result: DescribeGlobalResult) => void): DescribeGlobalResult; + (callback?: (err: Error, result: DescribeGlobalResult) => void): DescribeGlobalResult; clear(): void; } describeGlobal(callback?: (err: Error, result: DescribeGlobalResult) => void): Promise;