Skip to content

Commit 21a6f03

Browse files
author
dustin deus
committed
fix wrong type for onRequest hook
1 parent 400888f commit 21a6f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http-data-source.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export abstract class HTTPDataSource<TContext = any> extends DataSource {
135135
*
136136
* @param request
137137
*/
138-
protected onRequest?(requestOptions: ClientRequestOptions): void
138+
protected onRequest?(requestOptions: RequestOptions): void
139139

140140
/**
141141
* onResponse is executed when a response has been received.

0 commit comments

Comments
 (0)