Schema: add eitherFromUnion #881
Annotations
21 errors
Types:
packages/schema/src/Schema.ts#L3738
Type '<A>(self: Schema<A, unknown>) => Schema<A, EI | AI>' is not assignable to type 'Schema<EI | AI, Either<EA, AA>>'.
|
Types:
packages/schema/src/Schema.ts#L3740
No overload matches this call.
|
Types:
packages/schema/src/Schema.ts#L3742
Expected 4 type arguments, but got 1.
|
Types:
packages/schema/src/Schema.ts#L3747
Argument of type 'unknown' is not assignable to parameter of type 'Either<unknown, unknown>'.
|
Types:
packages/schema/src/Schema.ts#L3748
Argument of type 'unknown' is not assignable to parameter of type 'EA'.
|
Types:
packages/schema/src/Schema.ts#L3749
Argument of type 'unknown' is not assignable to parameter of type 'AA'.
|
Types:
packages/platform/src/Http/UrlParams.ts#L4
Output file '/home/runner/work/effect/effect/packages/schema/build/src/ParseResult.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/schema/src/ParseResult.ts'.
|
Types:
packages/platform/src/Http/UrlParams.ts#L5
Output file '/home/runner/work/effect/effect/packages/schema/build/src/Schema.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/schema/src/Schema.ts'.
|
Types:
packages/platform/src/internal/http/body.ts#L1
Output file '/home/runner/work/effect/effect/packages/schema/build/src/Schema.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/schema/src/Schema.ts'.
|
Types:
packages/platform/src/Http/Body.ts#L4
Output file '/home/runner/work/effect/effect/packages/schema/build/src/ParseResult.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/schema/src/ParseResult.ts'.
|
Build:
packages/schema/src/Schema.ts#L3738
Type '<A>(self: Schema<A, unknown>) => Schema<A, EI | AI>' is not assignable to type 'Schema<EI | AI, Either<EA, AA>>'.
|
Build:
packages/schema/src/Schema.ts#L3740
No overload matches this call.
|
Build:
packages/schema/src/Schema.ts#L3742
Expected 4 type arguments, but got 1.
|
Build:
packages/schema/src/Schema.ts#L3747
Argument of type 'unknown' is not assignable to parameter of type 'Either<unknown, unknown>'.
|
Build:
packages/schema/src/Schema.ts#L3748
Argument of type 'unknown' is not assignable to parameter of type 'EA'.
|
Build:
packages/schema/src/Schema.ts#L3749
Argument of type 'unknown' is not assignable to parameter of type 'AA'.
|
Build:
packages/platform/src/Http/UrlParams.ts#L4
Output file '/home/runner/work/effect/effect/packages/schema/build/src/ParseResult.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/schema/src/ParseResult.ts'.
|
Build:
packages/platform/src/Http/UrlParams.ts#L5
Output file '/home/runner/work/effect/effect/packages/schema/build/src/Schema.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/schema/src/Schema.ts'.
|
Build:
packages/platform/src/internal/http/body.ts#L1
Output file '/home/runner/work/effect/effect/packages/schema/build/src/Schema.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/schema/src/Schema.ts'.
|
Build:
packages/platform/src/Http/Body.ts#L4
Output file '/home/runner/work/effect/effect/packages/schema/build/src/ParseResult.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/schema/src/ParseResult.ts'.
|
Test (3/3)
Process completed with exit code 1.
|