UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

9 lines (6 loc) 388 B
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var UnreachableException = function UnreachableException(value) { _classCallCheck(this, UnreachableException); return new Error("unreachable case: ".concat(JSON.stringify(value))); }; export { UnreachableException as default };