Skip to content

Commit

Permalink
fix(typescript): specify type for resourceList
Browse files Browse the repository at this point in the history
  • Loading branch information
krvital committed Nov 7, 2024
1 parent 42ac573 commit cca7ac3
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 @@ -229,7 +229,7 @@
(remove fhir/logical?)
(map (fn [schema] (class-name (:resource-name schema))))
sort)]
(flatten ["export const resourceList = ["
(flatten ["export const resourceList: readonly ResourceType[] = ["
(map #(str u/indent "" \" % "\",") names)
"];"])))

Expand Down

0 comments on commit cca7ac3

Please sign in to comment.