Remove unused type parameter

This commit is contained in:
Abraham White
2018-06-05 10:20:39 -06:00
parent e7e45f53ff
commit 5a56dd22ba

View File

@@ -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 */
<T>(type: string, callback?: (err: Error, result: DescribeSObjectResult) => void): DescribeSObjectResult;
(type: string, callback?: (err: Error, result: DescribeSObjectResult) => void): DescribeSObjectResult;
clear(): void;
}
describe<T>(type: string, callback?: (err: Error, result: DescribeSObjectResult) => void): Promise<DescribeSObjectResult>;
describe(type: string, callback?: (err: Error, result: DescribeSObjectResult) => void): Promise<DescribeSObjectResult>;
describeGlobal$: {
/** Returns a value from the cache if it exists, otherwise calls Connection.describeGlobal */
<T>(callback?: (err: Error, result: DescribeGlobalResult) => void): DescribeGlobalResult;
(callback?: (err: Error, result: DescribeGlobalResult) => void): DescribeGlobalResult;
clear(): void;
}
describeGlobal<T>(callback?: (err: Error, result: DescribeGlobalResult) => void): Promise<DescribeGlobalResult>;