You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add a comment to the top of the generated typebox file with something like This code was auto generated, please don't modify it since changes will be lost on next generation to the typescript -> typebox part.
E.g.
/*** Don't change this file! It was auto generated and changes will probably be lost with the next generation.**/import{Type,Static}from"@sinclair/typebox";exporttypeT=Static<typeofT>;exportconstT=Type.Object({a: Type.Number(),b: Type.String(),c: U,});typeU=Static<typeofU>;constU=Type.Object({a: Type.Number(),b: Type.String(),});
Do you think I should add this here, or rather add it inside the cli package ts2typebox?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
@sinclairzx81 Hey!
I want to add a comment to the top of the generated typebox file with something like This code was auto generated, please don't modify it since changes will be lost on next generation to the typescript -> typebox part.
E.g.
Do you think I should add this here, or rather add it inside the cli package ts2typebox?
Beta Was this translation helpful? Give feedback.
All reactions