scaffolding icon indicating copy to clipboard operation
scaffolding copied to clipboard

fix: replace dprint escape sequence in generated `types.ts` file

Open c12i opened this issue 1 year ago • 1 comments

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.

c12i avatar Jul 08 '24 09:07 c12i

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.

c12i avatar Nov 19 '24 16:11 c12i