From e36160b80f2ead4fe6492bea0cf8e045bd584f6e Mon Sep 17 00:00:00 2001 From: abichinger Date: Wed, 22 May 2024 23:31:51 +0200 Subject: [PATCH] Fix invalid typescript interfaces (#265) --- src/services/typechat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/typechat.ts b/src/services/typechat.ts index 79b5aec..3f1e811 100644 --- a/src/services/typechat.ts +++ b/src/services/typechat.ts @@ -23,7 +23,7 @@ function generateSchema( ): string { const properties = batch .map((tString: TString) => { - return ` ${tString.key}: string;`; + return ` '${tString.key}': string;`; }) .join("\n");