Skip to content

Commit

Permalink
fix(setGlobalConfig): cookieJar prop should be optional (fixes #809)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadicc committed Sep 29, 2024
1 parent e96395f commit 7e524fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ in the case of the `cookieJar`, and for functions with variadic params in the ca
of the `logger` (ref: https://github.com/sinclairzx81/typebox/issues/931)
*/
export type YahooFinanceOptions = Static<typeof YahooFinanceOptionsSchema> & {
cookieJar: ExtendedCookieJar;
cookieJar?: ExtendedCookieJar;
logger?: Logger;
};

Expand Down

0 comments on commit 7e524fc

Please sign in to comment.