Thanks for sharing -- We started our TS codegen ov...
# general
c
Thanks for sharing -- We started our TS codegen over a year ago - I don't think this project was well established at that time.
It's not obvious from this project -- does Microsoft publish their TypeScript FHIR definitions?
j
Interestingly that project started the same day as your generator
c
ha, great minds 😛
the definitions would be largely compatible with @medplum/fhirtypes - it could be worth an experiment to adopt @types/fhir
they used the exact same pattern that we did, using
interface
for resource types, and a union type for the list of resource types
j
Got it, was just wondering if your team intentionally didn't use that library for some reason 🙂
c
nope - we do try to take a light touch with 3rd party dependencies, but that one looks completely valid, and just unfortunate timing
j
Thanks. In a related note do you have an update for the two tickets I made https://github.com/medplum/medplum/issues? No worries if you haven't had a chance to check it out yet
r
j
thanks!
187 Views