@loadmill/universal
Advanced tools
Comparing version 0.3.133 to 0.3.134
@@ -28,1 +28,2 @@ /** | ||
export declare type PartialWithExcludes<T, K extends keyof T> = Pick<T, K> & Partial<T>; | ||
export declare function filterWithTypeGuard<T, S extends T>(array: T[], predicate: (item: T) => item is S): S[]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ensure = void 0; | ||
exports.filterWithTypeGuard = exports.ensure = void 0; | ||
/** | ||
@@ -23,2 +23,6 @@ * example usage of this function: | ||
exports.ensure = ensure; | ||
function filterWithTypeGuard(array, predicate) { | ||
return array.filter(predicate); | ||
} | ||
exports.filterWithTypeGuard = filterWithTypeGuard; | ||
//# sourceMappingURL=typescript-utils.js.map |
{ | ||
"name": "@loadmill/universal", | ||
"version": "0.3.133", | ||
"version": "0.3.134", | ||
"description": "Loadmill universal utilities", | ||
@@ -5,0 +5,0 @@ "main": "dist/", |
Sorry, the diff of this file is not supported yet
104087
1722