diff --git a/.changeset/loud-bottles-watch.md b/.changeset/loud-bottles-watch.md new file mode 100644 index 0000000..b22d07c --- /dev/null +++ b/.changeset/loud-bottles-watch.md @@ -0,0 +1,5 @@ +--- +"@tailor-platform/function-types": patch +--- + +fix: require Tailordb namespace diff --git a/packages/types/tailor.d.ts b/packages/types/tailor.d.ts index 0d898ab..9832b52 100644 --- a/packages/types/tailor.d.ts +++ b/packages/types/tailor.d.ts @@ -1,6 +1,6 @@ declare namespace Tailordb { class Client { - constructor(config?: { namespace?: string }); + constructor(config: { namespace: string }); connect(): Promise; end(): Promise; queryObject(