Skip to content

Commit 56b83a1

Browse files
authored
fix: require namespace in Tailordb.Client constructor (#110)
1 parent 7ba4a1c commit 56b83a1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/loud-bottles-watch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tailor-platform/function-types": patch
3+
---
4+
5+
fix: require Tailordb namespace

packages/types/tailor.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
declare namespace Tailordb {
22
class Client {
3-
constructor(config?: { namespace?: string });
3+
constructor(config: { namespace: string });
44
connect(): Promise<void>;
55
end(): Promise<void>;
66
queryObject<O>(

0 commit comments

Comments
 (0)