David Bonnet
David Bonnet
How about doing this instead? ```js state.write('\n'); state.write(' '); ```
Makes sense, it should indeed be clarified in the documentation. Note that alternate approaches would considerably slow down the code generation.
Thanks for submitting this @mohd-akram. IMHO, `astring` should not alter comment blocks at all (it was an initial design decision that became silly), so that it does what you would...
Relates to #562
Hi @bjornharrtell, TypeScript support would indeed be interesting. Could you provide more insights regarding the TSESTree spec?
Thanks @paoloricciuti for mentioning this. The types could indeed be enhanced by making the `Options` type generic with inferred arguments (this means that `Output` should extend the necessary stream interface...