Skip to content

Commit 787964a

Browse files
committed
fix: typescript constraint meta type generation
1 parent cf647a8 commit 787964a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aidbox_sdk/generator/typescript.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
(generate-polymorphic-property element)
9191

9292
(= type "Meta")
93-
(format "%s: Meta = { profile: \"%s\" }" name profile)
93+
(format "%s: Meta & { profile: [\"%s\"] }" name profile)
9494

9595
:else
9696
(let [type' (if (= "BackboneElement" type)

0 commit comments

Comments
 (0)