Commit 5eb89d88 by Vladislav Lagunov

[decoder] Исправлены тайпинги

parent 7f7b13d5
...@@ -201,7 +201,7 @@ export class Pure<A> extends DecoderBase<A> { ...@@ -201,7 +201,7 @@ export class Pure<A> extends DecoderBase<A> {
export class Chain<A> extends DecoderBase<A> { export class Chain<A> extends DecoderBase<A> {
constructor( constructor(
readonly _decoder: Decoder<any>, readonly _decoder: Decoder<any>,
readonly _then: (x: Validation<any>) => Decoder<A>, readonly _then: (x: Either<Problem, any>) => Decoder<A>,
) { super(); } ) { super(); }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment