Skip to content

Commit

Permalink
chore: added explicit any to err type
Browse files Browse the repository at this point in the history
  • Loading branch information
chr15stevens committed Dec 15, 2024
1 parent 841aaea commit 4ab58ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export declare class HttpTransportBuilder<
userAgent(userAgent: string): HttpTransportBuilder<ContextCurrent>;
retries(retries: number): HttpTransportBuilder<ContextCurrent>;
retryDelay(retryDelay: number): HttpTransportBuilder<ContextCurrent>;
criticalErrorDetector(criticalErrorDetector: (err, ctx: Context) => boolean): HttpTransportBuilder<ContextCurrent>;
criticalErrorDetector(criticalErrorDetector: (err: any, ctx: Context) => boolean): HttpTransportBuilder<ContextCurrent>;
use<ContextExtra = {}>(
fn: Plugin<ContextExtra, ContextCurrent>
): HttpTransportBuilder<ContextExtra & ContextCurrent>;
Expand Down

0 comments on commit 4ab58ad

Please sign in to comment.