-
I would really like to use this project to generate types and what not. I looked around in the project and think that there are potential trouble when the types you generate is not the latest ones. Imagine if you delete a property from a type, delete it from whatever data source you have and not updating the types. Typescript wouldn't complain and the build would work, as expected. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@dotansimha @ardatan I guess adding some sort of checksum to the generated file would solve this right?
What I am still thinking of though is: "Is it really required? Considering the fact that you can always regenerate the TS files and overwrite the types again keeping things in sync" |
Beta Was this translation helpful? Give feedback.
@dotansimha @ardatan I guess adding some sort of checksum to the generated file would solve this right?
--check
as suggestedWhat I am still thinking of though is: "Is it really required? Considering the fact that you can always regenerate the TS files and overwrite the types again keeping things in sync"