Skip to content

Commit

Permalink
Fix types in Wrapper Client
Browse files Browse the repository at this point in the history
  • Loading branch information
theycallmeswift committed Jul 26, 2024
1 parent 4d1788c commit 254773c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/wrapper/FlatfileClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { Records } from "./RecordsClient";
CrossEnvConfig.alias("FLATFILE_API_URL", "AGENT_INTERNAL_URL");
CrossEnvConfig.alias("FLATFILE_BEARER_TOKEN", "FLATFILE_API_KEY");

export declare namespace FlatfileClient {
interface Options {
export namespace FlatfileClient {
export interface Options {
/**
* @deprecated use apiUrl instead
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/client.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FlatfileClient } from "../src/Client";
import { FlatfileClient } from "../src/index";

describe("FlatfileClient", () => {
it("is instantiatable as a class", () => {
Expand Down

0 comments on commit 254773c

Please sign in to comment.