Skip to content

Fix function types

Fix function types #82

Triggered via pull request November 15, 2023 19:34
@bkiacbkiac
synchronize #13
fix-types
Status Failure
Total duration 30s
Artifacts

ci.yml

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

Annotations

5 errors
check: src/option/option.test.ts#L250
Property 'get' does not exist on type 'Some<number>'.
check: src/option/option.test.ts#L255
Property 'get' does not exist on type 'None'.
check: src/result/promise.ts#L61
Type 'PromiseResult<E, E>' is not assignable to type 'PromiseResult<U, E>'.
check: src/result/promise.ts#L61
Argument of type 'PromiseLike<(Err<E> & ResultMethods<U, E>) | (Ok<U> & ResultMethods<U, E>)>' is not assignable to parameter of type 'PromiseResult<E, E> | PromiseLike<Result<E, E>> | Promise<Result<E, E>>'.
check
Process completed with exit code 1.