effect-io-ai

Package: @effect/printer
Module: DocTree

DocTree.annotation

Annotate the specified DocTree with an annotation of type A.

Signature

declare const annotation: { <A>(annotation: A): <B>(self: DocTree<B>) => DocTree<A | B>; <A, B>(self: DocTree<A>, annotation: B): DocTree<A | B>; }

Source

Since v1.0.0