scaffolding
scaffolding copied to clipboard
fix: replace dprint escape sequence in generated `types.ts` file
Currently code generated in types.ts contains a dprint /* dprint-ignore-start */ comment to prevent the initial EntryTypes type alias from getting formatted thereby causing errors when attempting to populate the members of this union type on subsequent hc scaffold entry-type runs. This is internal implementation that is getting leaked here and should ideally be hidden.
Next Steps
For now, since a fully fledged solution is not yet available for this, a comment with a link to this issue can be added to the scaffolded types.ts to inform the hApp dev about why this escape sequence is there to begin with.