Skip to content

Commit ffefbb6

Browse files
committed
fix: reuse timeout option from ky
1 parent 0d9bc6b commit ffefbb6

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

  • packages/openapi-ts/src/plugins/@hey-api/client-ky/bundle

packages/openapi-ts/src/plugins/@hey-api/client-ky/bundle/types.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export interface Config<T extends ClientOptions = ClientOptions>
2525
| 'redirect'
2626
| 'referrer'
2727
| 'referrerPolicy'
28+
| 'timeout'
2829
>,
2930
CoreConfig {
3031
/**
@@ -66,12 +67,6 @@ export interface Config<T extends ClientOptions = ClientOptions>
6667
* @default false
6768
*/
6869
throwOnError?: T['throwOnError'];
69-
/**
70-
* Request timeout in milliseconds
71-
*
72-
* @default 10000
73-
*/
74-
timeout?: number;
7570
}
7671

7772
export interface RequestOptions<

0 commit comments

Comments
 (0)