declare
declare: {<
A>(is,annotations?):declare<A>; <A,I,P>(typeParameters,options,annotations?):declare<A,I,P>; }
Defined in: node_modules/.pnpm/effect@3.15.2/node_modules/effect/dist/dts/Schema.d.ts:478
The constraint R extends Schema.Context<P[number]> enforces dependencies solely from typeParameters.
This ensures that when you call Schema.to or Schema.from, you receive a schema with a never context.
Call Signature
Section titled “Call Signature”<
A>(is,annotations?):declare<A>
The constraint R extends Schema.Context<P[number]> enforces dependencies solely from typeParameters.
This ensures that when you call Schema.to or Schema.from, you receive a schema with a never context.
Type Parameters
Section titled “Type Parameters”A
Parameters
Section titled “Parameters”(input) => input is A
annotations?
Section titled “annotations?”Schema<A, readonly []>
Returns
Section titled “Returns”declare<A>
3.10.0
Call Signature
Section titled “Call Signature”<
A,I,P>(typeParameters,options,annotations?):declare<A,I,P>
The constraint R extends Schema.Context<P[number]> enforces dependencies solely from typeParameters.
This ensures that when you call Schema.to or Schema.from, you receive a schema with a never context.
Type Parameters
Section titled “Type Parameters”A
I
P extends readonly All[]
Parameters
Section titled “Parameters”typeParameters
Section titled “typeParameters”P
options
Section titled “options”decode
Section titled “decode”(…typeParameters) => (input, options, ast) => Effect<A, ParseIssue, never>
encode
Section titled “encode”(…typeParameters) => (input, options, ast) => Effect<I, ParseIssue, never>
annotations?
Section titled “annotations?”Schema<A, { readonly [K in string | number | symbol]: Type<P[K<K>]> }>
Returns
Section titled “Returns”declare<A, I, P>
3.10.0
3.10.0