io-ts-reporters
Advanced tools
Comparing version 0.0.20 to 0.0.21
@@ -5,3 +5,3 @@ { | ||
"typings": "./target/src/index.d.ts", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"scripts": { | ||
@@ -8,0 +8,0 @@ "lint": "tslint --project tsconfig.json", |
@@ -12,3 +12,5 @@ "use strict"; | ||
// The actual error is last in context | ||
var maybeErrorContext = array.last(error.context); | ||
var maybeErrorContext = array.last( | ||
// https://github.com/gcanti/fp-ts/pull/544/files | ||
error.context); | ||
return maybeErrorContext.map(function (errorContext) { | ||
@@ -15,0 +17,0 @@ var expectedType = errorContext.type.name; |
Sorry, the diff of this file is not supported yet
4946
30