(annotations: Annotations.Key<S["Type"]>)
| 750 | * @since 4.0.0 |
| 751 | */ |
| 752 | export function annotateKey<S extends Top>(annotations: Annotations.Key<S["Type"]>) { |
| 753 | return (self: S): S["Rebuild"] => { |
| 754 | return self.rebuild(SchemaAST.annotateKey(self.ast, annotations)) |
| 755 | } |
| 756 | } |
| 757 | /** |
| 758 | * The existential "any schema" type — all type parameters are erased to `unknown`. |
| 759 | * |
nothing calls this directly
no test coverage detected