Skip to content

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.

<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.

A

(input) => input is A

Schema<A, readonly []>

declare<A>

3.10.0

<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.

A

I

P extends readonly All[]

P

(…typeParameters) => (input, options, ast) => Effect<A, ParseIssue, never>

(…typeParameters) => (input, options, ast) => Effect<I, ParseIssue, never>

Schema<A, { readonly [K in string | number | symbol]: Type<P[K<K>]> }>

declare<A, I, P>

3.10.0

3.10.0