annotations
constannotations: {<S>(annotations): (self) =>ReturnType<S["annotations"]>; <S>(self,annotations):ReturnType<S["annotations"]>; }
Defined in: node_modules/.pnpm/effect@3.15.2/node_modules/effect/dist/dts/Schema.d.ts:2225
Merges a set of new annotations with existing ones, potentially overwriting any duplicates.
Call Signature
Section titled “Call Signature”<
S>(annotations): (self) =>ReturnType<S["annotations"]>
Merges a set of new annotations with existing ones, potentially overwriting any duplicates.
Type Parameters
Section titled “Type Parameters”S extends All
Parameters
Section titled “Parameters”annotations
Section titled “annotations”GenericSchema<Type<S>>
Returns
Section titled “Returns”(
self):ReturnType<S["annotations"]>
Parameters
Section titled “Parameters”S
Returns
Section titled “Returns”ReturnType<S["annotations"]>
3.10.0
Call Signature
Section titled “Call Signature”<
S>(self,annotations):ReturnType<S["annotations"]>
Merges a set of new annotations with existing ones, potentially overwriting any duplicates.
Type Parameters
Section titled “Type Parameters”S extends All
Parameters
Section titled “Parameters”S
annotations
Section titled “annotations”GenericSchema<Type<S>>
Returns
Section titled “Returns”ReturnType<S["annotations"]>
3.10.0
3.10.0