Refactor to result, option classes #92
Annotations
10 errors
Run pnpm run ts:check:
src/internal.ts#L4
Cannot find module './none' or its corresponding type declarations.
|
Run pnpm run ts:check:
src/internal.ts#L11
Cannot find module './some' or its corresponding type declarations.
|
Run pnpm run ts:check:
src/promise_option.ts#L32
Argument of type 'PromiseLike<(None & OptionImpl<U>) | (Some<U> & OptionImpl<U>) | (None & OptionImpl<T | U>) | (Some<T | U> & OptionImpl<...>)>' is not assignable to parameter of type 'PromiseLike<Option<U>> | Promise<Option<U>>'.
|
Run pnpm run ts:check:
src/promise_option.ts#L37
Argument of type 'PromiseLike<(None & OptionImpl<U>) | (Some<U> & OptionImpl<U>) | (None & OptionImpl<T | U>) | (Some<T | U> & OptionImpl<...>)>' is not assignable to parameter of type 'PromiseLike<Option<U>> | Promise<Option<U>>'.
|
Run pnpm run ts:check:
src/promise_option.ts#L53
Argument of type 'PromiseLike<(None & OptionImpl<U>) | (Some<U> & OptionImpl<U>) | (None & OptionImpl<T | U>) | (Some<T | U> & OptionImpl<...>)>' is not assignable to parameter of type 'PromiseLike<Option<U>> | Promise<Option<U>>'.
|
Run pnpm run ts:check:
src/promise_result.ts#L34
Argument of type 'PromiseLike<(Ok<U> & ResultImpl<U, E | F>) | (Err<E | F> & ResultImpl<U, E | F>) | (Err<E | F> & ResultImpl<T | U, E | F>) | (Ok<...> & ResultImpl<...>)>' is not assignable to parameter of type 'PromiseResult<U, E | F> | PromiseLike<Result<U, E | F>> | Promise<Result<U, E | F>>'.
|
Run pnpm run ts:check:
src/promise_result.ts#L40
Argument of type 'PromiseLike<(Ok<U> & ResultImpl<U, E | F>) | (Err<E | F> & ResultImpl<U, E | F>) | (Err<E | F> & ResultImpl<T | U, E | F>) | (Ok<...> & ResultImpl<...>)>' is not assignable to parameter of type 'PromiseResult<U, E | F> | PromiseLike<Result<U, E | F>> | Promise<Result<U, E | F>>'.
|
Run pnpm run ts:check:
src/promise_result.ts#L61
Argument of type 'PromiseLike<(Err<E> & ResultImpl<U, E>) | (Ok<U> & ResultImpl<U, E>) | (Err<E> & ResultImpl<T | U, E>) | (Ok<...> & ResultImpl<...>)>' is not assignable to parameter of type 'PromiseResult<U, E> | PromiseLike<Result<U, E>> | Promise<Result<U, E>>'.
|
Run pnpm run ts:check:
src/promise_result.ts#L65
Argument of type 'PromiseLike<(Ok<T> & ResultImpl<T, F>) | (Err<F> & ResultImpl<T, F>) | (Ok<T> & ResultImpl<T, E | F>) | (Err<...> & ResultImpl<...>)>' is not assignable to parameter of type 'PromiseResult<T, F> | PromiseLike<Result<T, F>> | Promise<Result<T, F>>'.
|
Run pnpm run ts:check
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading