Skip to content

Commit

Permalink
fix(typescript): single quotes in resourceList
Browse files Browse the repository at this point in the history
  • Loading branch information
krvital committed Nov 7, 2024
1 parent cca7ac3 commit 240c5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aidbox_sdk/generator/typescript.clj
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
(map (fn [schema] (class-name (:resource-name schema))))
sort)]
(flatten ["export const resourceList: readonly ResourceType[] = ["
(map #(str u/indent "" \" % "\",") names)
(map #(str u/indent "'" % "',") names)
"];"])))

(defn resource-type-map [schemas]
Expand Down

0 comments on commit 240c5d9

Please sign in to comment.