Skip to content

Commit bfe7e82

Browse files
committed
feat: Make options partial on createClient
1 parent 5625617 commit bfe7e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ export * from './models';
4040
* @param options Endpoint, version, token, etc.. configurations
4141
* @returns A new HawAPI Client
4242
*/
43-
export const createClient = (options?: HawAPIOptions) => {
43+
export const createClient = (options?: Partial<HawAPIOptions>) => {
4444
return new HawAPIClient(options);
4545
};

0 commit comments

Comments
 (0)