Skip to content

option: make Option.none and Option.some return Some<T> and None<T> #8574

option: make Option.none and Option.some return Some<T> and None<T>

option: make Option.none and Option.some return Some<T> and None<T> #8574

Re-run triggered January 22, 2025 20:48
Status Failure
Total duration 2m 22s
Artifacts

check.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 7 warnings
Test (Node 2/4)
Process completed with exit code 1.
Test (Node 3/4)
Process completed with exit code 1.
Test (Node 4/4)
Process completed with exit code 1.
Test (Node 1/4)
Process completed with exit code 1.
Lint
Process completed with exit code 1.
Types: packages/effect/src/Option.ts#L110
';' expected.
Types: packages/effect/src/Option.ts#L110
';' expected.
Types: packages/effect/src/Option.ts#L110
Expression expected.
Types: packages/effect/src/Option.ts#L110
';' expected.
Types: packages/effect/test/Array.test.ts#L379
Argument of type 'Some<number[]>' is not assignable to parameter of type 'Option<[number, ...number[]]>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types: packages/effect/test/Array.test.ts#L380
Argument of type 'Some<number[]>' is not assignable to parameter of type 'Option<[number, ...number[]]>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types: packages/effect/test/Array.test.ts#L386
Argument of type 'Some<number[]>' is not assignable to parameter of type 'Option<[number, ...number[]]>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types: packages/effect/test/Array.test.ts#L387
Argument of type 'Some<number[]>' is not assignable to parameter of type 'Option<[number, ...number[]]>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types: packages/effect/test/Brand.test.ts#L35
Argument of type 'Some<number>' is not assignable to parameter of type 'Option<Int>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types: packages/effect/test/Brand.test.ts#L67
Argument of type 'Some<number>' is not assignable to parameter of type 'Option<number & Brand<unique symbol> & Brand<"Positive">>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Node 2/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Node 3/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Node 4/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Node 1/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Types
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636