Changelog
2.0.0 (2016-01-06)
typeName(error)
returns actual error constructor name, not just 'Error'
(c857cea3)before:
typeName(new TypeError('type error!')) // => 'Error'
after 2.0.0:
typeName(new TypeError('type error!')) // => 'TypeError'