@empathyco/x-utils
Advanced tools
Comparing version 0.1.0-alpha.3 to 0.1.0-alpha.4
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./object"), exports); | ||
tslib_1.__exportStar(require("./types"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -0,2 +1,3 @@ | ||
export * from './object'; | ||
export * from './types'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@empathyco/x-utils", | ||
"version": "0.1.0-alpha.3", | ||
"version": "0.1.0-alpha.4", | ||
"description": "A utility package for Empathy search", | ||
@@ -44,3 +44,3 @@ "author": "Empathy Systems Corporation S.L.", | ||
}, | ||
"gitHead": "fc23e6ad9d61be10fd1c56545902ef349de2e57c" | ||
"gitHead": "8efe7a9f47c1aad2fdfe6fc796a46ad0e2dc987d" | ||
} |
@@ -0,1 +1,2 @@ | ||
export * from './object'; | ||
export * from './types'; |
/** | ||
* TypeScript type primitives. Basically every type possible except objects or arrays. | ||
* A function with 0 or more parameters of any type, which can return something or not. | ||
* | ||
* @public | ||
*/ | ||
export declare type Primitive = string | number | boolean | bigint | undefined | null | symbol; | ||
export declare type AnyFunction = (...args: any[]) => any; | ||
/** | ||
@@ -16,1 +16,13 @@ * Retrieves the keys of a determinate type from a provided interface. | ||
export declare type Keys<SomeObject, Type> = Extract<keyof SomeObject, Type>; | ||
/** | ||
* TypeScript type non-primitives. Array or Record with all possible types. | ||
* | ||
* @public | ||
*/ | ||
export declare type NonPrimitive = Array<any> | Record<any, any>; | ||
/** | ||
* TypeScript type primitives. Basically every type possible except objects or arrays. | ||
* | ||
* @public | ||
*/ | ||
export declare type Primitive = string | number | boolean | bigint | undefined | null | symbol | AnyFunction; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31556
28
175