(annotations: Annotations.Key<S["Type"]>)
| 715 | * @since 4.0.0 |
| 716 | */ |
| 717 | export function annotateKey<S extends Top>(annotations: Annotations.Key<S["Type"]>) { |
| 718 | return (self: S): S["Rebuild"] => { |
| 719 | return self.rebuild(SchemaAST.annotateKey(self.ast, annotations)) |
| 720 | } |
| 721 | } |
| 722 | |
| 723 | /** |
| 724 | * The existential "any schema" type — all type parameters are erased to `unknown`. |
nothing calls this directly
no test coverage detected