Skip to content

Commit

Permalink
bug: export Client type in createClient.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
117 committed May 24, 2024
1 parent 84f5f9e commit 3304134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions factory/createClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const baseURLs = {
marketData: "https://data.alpaca.markets",
} as const;

type BaseURLKey = keyof typeof baseURLs;
export type BaseURLKey = keyof typeof baseURLs;

export type RequestOptions<T> = {
path: string;
Expand All @@ -19,7 +19,7 @@ export type RequestOptions<T> = {
params?: object;
};

type Client =
export type Client =
& {
[K in keyof typeof trade]: ReturnType<(typeof trade)[K]>;
}
Expand Down

0 comments on commit 3304134

Please sign in to comment.