brookjs-types
Advanced tools
Comparing version 1.0.0-alpha.26 to 1.0.0-alpha.29
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var unreachable = function unreachable(x) { | ||
throw new Error('unreachable value found ' + x); | ||
}; | ||
exports.unreachable = unreachable; |
@@ -0,1 +1,5 @@ | ||
var unreachable = function unreachable(x) { | ||
throw new Error('unreachable value found ' + x); | ||
}; | ||
export { unreachable }; |
@@ -1,8 +0,15 @@ | ||
(function (factory) { | ||
typeof define === 'function' && define.amd ? define(factory) : | ||
factory(); | ||
}((function () { 'use strict'; | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
(global = global || self, factory(global['brookjs-types'] = {})); | ||
}(this, (function (exports) { 'use strict'; | ||
var unreachable = function unreachable(x) { | ||
throw new Error('unreachable value found ' + x); | ||
}; | ||
exports.unreachable = unreachable; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
}))); |
@@ -5,1 +5,3 @@ import { Stream, Property, Observable } from 'kefir'; | ||
} | ||
export declare type Maybe<T> = T | null | undefined; | ||
export declare const unreachable: (x: never) => never; |
{ | ||
"name": "brookjs-types", | ||
"version": "1.0.0-alpha.26", | ||
"version": "1.0.0-alpha.29", | ||
"description": "reactive programming tools for well-structured, testable applications", | ||
@@ -27,3 +27,3 @@ "main": "dist/brookjs-types.cjs.js", | ||
}, | ||
"gitHead": "a3d7119106cec8f6fdd44c28aec32eda7ee32ce9" | ||
"gitHead": "ce73e3c9e5a599db9960078b372e80ff8ae5305f" | ||
} |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
3413
27
0