kdljs icon indicating copy to clipboard operation
kdljs copied to clipboard

Make `tags` optional when formatting

Open artemisSystem opened this issue 3 years ago • 1 comments

Would be nice if you could leave out the tags field when formatting if you don't need to format type tags. Currently it just errors if it's missing.

artemisSystem avatar Sep 26 '22 19:09 artemisSystem

This is probably a bit annoying with TypeScript. When parsing a document it's nice to have a guarantee that node.values is always an array, for example. So it would need a separate set of types for the formatter, I think.

larsgw avatar Oct 16 '23 12:10 larsgw