Skip to content

Commit

Permalink
fix: make options optional in ky.create()
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkluijk committed Sep 2, 2024
1 parent a7e2736 commit f9517fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/types/ky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export type KyInstance = {
@returns A new Ky instance.
*/
create: (defaultOptions: Options) => KyInstance;
create: (defaultOptions?: Options) => KyInstance;

/**
Create a new Ky instance with some defaults overridden with your own.
Expand Down

0 comments on commit f9517fa

Please sign in to comment.