effect-io-ai

Package: @effect/printer
Module: Doc

Doc.unAnnotate

Removes all annotations from a document.

Note: with each invocation, the entire document tree is traversed. If possible, it is preferable to unannotate a document after producing the layout using unAnnotateS.

Signature

declare const unAnnotate: <A>(self: Doc<A>) => Doc<never>

Source

Since v1.0.0