Commit d76b1caf by Andrey Golubov

Merge remote-tracking branch 'origin/master' into template-common

parents 95f2960c 1ce33da2
import * as t from '../decoder';
import { camelCase } from 'lodash';
import * as camelCase from 'lodash/camelCase';
import { absurd } from '../types';
import { WithDefault, RecordDecoder, Decoder } from '../decoder';
import { Either } from '../either';
......
......@@ -200,7 +200,7 @@ export class Pure<A> extends DecoderBase<A> {
export class Chain<A> extends DecoderBase<A> {
constructor(
readonly _decoder: Decoder<any>,
readonly _then: (x: Validation<any>) => Decoder<A>,
readonly _then: (x: Either<Problem, any>) => Decoder<A>,
) { super(); }
}
......
{
"name": "common",
"version": "0.1.1",
"version": "0.1.2",
"main": "index.js",
"repository": "ssh://g@git.bitmaster.ru:34022/npm/common.git",
"author": "Vladislav Lagunov <lagunov.v@bitmaster.ru>",
......
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