From 5a56dd22ba237b83d76ec1e95f2fad1e3f670095 Mon Sep 17 00:00:00 2001 From: Abraham White Date: Tue, 5 Jun 2018 10:20:39 -0600 Subject: [PATCH] Remove unused type parameter --- types/jsforce/connection.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;