Skip to content

Commit

Permalink
Fix missing hook method types for TypeScript (#353)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
Qwerios and sindresorhus committed May 31, 2021
1 parent 69d7593 commit 8fc2f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ const ky = createInstance();
export default ky;

export {Options};

export {BeforeRequestHook, BeforeRetryHook, AfterResponseHook} from './types/hooks.js';
export {HTTPError} from './errors/HTTPError.js';
export {TimeoutError} from './errors/TimeoutError.js';

0 comments on commit 8fc2f22

Please sign in to comment.