Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-toolbelt

Package Overview
Dependencies
Maintainers
1
Versions
916
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-toolbelt - npm Package Compare versions

Comparing version 9.3.12 to 9.5.0-test.1614542567864

out/Function/Exact.d.ts

2

out/Function/_api.d.ts
/** @ignore */ /** */
export { AutoPath } from './AutoPath';
export { Compose } from './Compose';
export { Exact } from './Exact';
export { Curry } from './Curry';
export { Function } from './Function';
export { Narrow } from './Narrow';
export { Length } from './Length';

@@ -7,0 +9,0 @@ export { NoInfer } from './NoInfer';

@@ -13,1 +13,5 @@ /**

export declare type Input = 'multi' | 'list';
/**
* Describes types that can be narrowed
*/
export declare type Narrowable = string | number | bigint | boolean;

4

out/Function/Function.d.ts

@@ -15,4 +15,2 @@ import { List } from '../List/List';

*/
export interface Function<P extends List = any, R extends any = any> {
(...args: P): R;
}
export declare type Function<P extends List = any, R extends any = any> = (...args: P) => R;
/** @ignore */ /** */
import { Function } from '../../Function';
import { Await } from '../../../Any/Await';
import { Curry } from '../../Curry';
/**

@@ -9,76 +10,76 @@ *@hidden

<R0, P extends any[]>(fns: [
Function<P, R0>
Function<P, R0> | Curry<Function<P, R0>>
]): Function<P, Promise<Await<R0>>>;
<R0, R1, P extends any[]>(fns: [
Function<P, R0>,
Function<[Await<R0>], R1>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>
]): Function<P, Promise<Await<R1>>>;
<R0, R1, R2, P extends any[]>(fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>
]): Function<P, Promise<Await<R2>>>;
<R0, R1, R2, R3, P extends any[]>(fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>
]): Function<P, Promise<Await<R3>>>;
<R0, R1, R2, R3, R4, P extends any[]>(fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>
]): Function<P, Promise<Await<R4>>>;
<R0, R1, R2, R3, R4, R5, P extends any[]>(fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>,
Function<[Await<R4>], R5>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>,
Function<[Await<R4>], R5> | Curry<Function<[Await<R4>], R5>>
]): Function<P, Promise<Await<R5>>>;
<R0, R1, R2, R3, R4, R5, R6, P extends any[]>(fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>,
Function<[Await<R4>], R5>,
Function<[Await<R5>], R6>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>,
Function<[Await<R4>], R5> | Curry<Function<[Await<R4>], R5>>,
Function<[Await<R5>], R6> | Curry<Function<[Await<R5>], R6>>
]): Function<P, Promise<Await<R6>>>;
<R0, R1, R2, R3, R4, R5, R6, R7, P extends any[]>(fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>,
Function<[Await<R4>], R5>,
Function<[Await<R5>], R6>,
Function<[Await<R6>], R7>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>,
Function<[Await<R4>], R5> | Curry<Function<[Await<R4>], R5>>,
Function<[Await<R5>], R6> | Curry<Function<[Await<R5>], R6>>,
Function<[Await<R6>], R7> | Curry<Function<[Await<R6>], R7>>
]): Function<P, Promise<Await<R7>>>;
<R0, R1, R2, R3, R4, R5, R6, R7, R8, P extends any[]>(fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>,
Function<[Await<R4>], R5>,
Function<[Await<R5>], R6>,
Function<[Await<R6>], R7>,
Function<[Await<R7>], R8>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>,
Function<[Await<R4>], R5> | Curry<Function<[Await<R4>], R5>>,
Function<[Await<R5>], R6> | Curry<Function<[Await<R5>], R6>>,
Function<[Await<R6>], R7> | Curry<Function<[Await<R6>], R7>>,
Function<[Await<R7>], R8> | Curry<Function<[Await<R7>], R8>>
]): Function<P, Promise<Await<R8>>>;
<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, P extends any[]>(fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>,
Function<[Await<R4>], R5>,
Function<[Await<R5>], R6>,
Function<[Await<R6>], R7>,
Function<[Await<R7>], R8>,
Function<[Await<R8>], R9>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>,
Function<[Await<R4>], R5> | Curry<Function<[Await<R4>], R5>>,
Function<[Await<R5>], R6> | Curry<Function<[Await<R5>], R6>>,
Function<[Await<R6>], R7> | Curry<Function<[Await<R6>], R7>>,
Function<[Await<R7>], R8> | Curry<Function<[Await<R7>], R8>>,
Function<[Await<R8>], R9> | Curry<Function<[Await<R8>], R9>>
]): Function<P, Promise<Await<R9>>>;
};
/** @ignore */ /** */
import { Curry } from '../../Curry';
import { Function } from '../../Function';

@@ -8,76 +9,76 @@ /**

<R0, P extends any[]>(fns: [
Function<P, R0>
Function<P, R0> | Curry<Function<P, R0>>
]): Function<P, R0>;
<R0, R1, P extends any[]>(fns: [
Function<P, R0>,
Function<[R0], R1>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>
]): Function<P, R1>;
<R0, R1, R2, P extends any[]>(fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>
]): Function<P, R2>;
<R0, R1, R2, R3, P extends any[]>(fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>
]): Function<P, R3>;
<R0, R1, R2, R3, R4, P extends any[]>(fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>
]): Function<P, R4>;
<R0, R1, R2, R3, R4, R5, P extends any[]>(fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>,
Function<[R4], R5>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>,
Function<[R4], R5> | Curry<Function<[R4], R5>>
]): Function<P, R5>;
<R0, R1, R2, R3, R4, R5, R6, P extends any[]>(fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>,
Function<[R4], R5>,
Function<[R5], R6>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>,
Function<[R4], R5> | Curry<Function<[R4], R5>>,
Function<[R5], R6> | Curry<Function<[R5], R6>>
]): Function<P, R6>;
<R0, R1, R2, R3, R4, R5, R6, R7, P extends any[]>(fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>,
Function<[R4], R5>,
Function<[R5], R6>,
Function<[R6], R7>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>,
Function<[R4], R5> | Curry<Function<[R4], R5>>,
Function<[R5], R6> | Curry<Function<[R5], R6>>,
Function<[R6], R7> | Curry<Function<[R6], R7>>
]): Function<P, R7>;
<R0, R1, R2, R3, R4, R5, R6, R7, R8, P extends any[]>(fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>,
Function<[R4], R5>,
Function<[R5], R6>,
Function<[R6], R7>,
Function<[R7], R8>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>,
Function<[R4], R5> | Curry<Function<[R4], R5>>,
Function<[R5], R6> | Curry<Function<[R5], R6>>,
Function<[R6], R7> | Curry<Function<[R6], R7>>,
Function<[R7], R8> | Curry<Function<[R7], R8>>
]): Function<P, R8>;
<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, P extends any[]>(fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>,
Function<[R4], R5>,
Function<[R5], R6>,
Function<[R6], R7>,
Function<[R7], R8>,
Function<[R8], R9>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>,
Function<[R4], R5> | Curry<Function<[R4], R5>>,
Function<[R5], R6> | Curry<Function<[R5], R6>>,
Function<[R6], R7> | Curry<Function<[R6], R7>>,
Function<[R7], R8> | Curry<Function<[R7], R8>>,
Function<[R8], R9> | Curry<Function<[R8], R9>>
]): Function<P, R9>;
};
/** @ignore */ /** */
import { Function } from '../../Function';
import { Await } from '../../../Any/Await';
import { Curry } from '../../Curry';
/**

@@ -9,76 +10,76 @@ *@hidden

<R0, P extends any[]>(...fns: [
Function<P, R0>
Function<P, R0> | Curry<Function<P, R0>>
]): Function<P, Promise<Await<R0>>>;
<R0, R1, P extends any[]>(...fns: [
Function<P, R0>,
Function<[Await<R0>], R1>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>
]): Function<P, Promise<Await<R1>>>;
<R0, R1, R2, P extends any[]>(...fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>
]): Function<P, Promise<Await<R2>>>;
<R0, R1, R2, R3, P extends any[]>(...fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>
]): Function<P, Promise<Await<R3>>>;
<R0, R1, R2, R3, R4, P extends any[]>(...fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>
]): Function<P, Promise<Await<R4>>>;
<R0, R1, R2, R3, R4, R5, P extends any[]>(...fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>,
Function<[Await<R4>], R5>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>,
Function<[Await<R4>], R5> | Curry<Function<[Await<R4>], R5>>
]): Function<P, Promise<Await<R5>>>;
<R0, R1, R2, R3, R4, R5, R6, P extends any[]>(...fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>,
Function<[Await<R4>], R5>,
Function<[Await<R5>], R6>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>,
Function<[Await<R4>], R5> | Curry<Function<[Await<R4>], R5>>,
Function<[Await<R5>], R6> | Curry<Function<[Await<R5>], R6>>
]): Function<P, Promise<Await<R6>>>;
<R0, R1, R2, R3, R4, R5, R6, R7, P extends any[]>(...fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>,
Function<[Await<R4>], R5>,
Function<[Await<R5>], R6>,
Function<[Await<R6>], R7>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>,
Function<[Await<R4>], R5> | Curry<Function<[Await<R4>], R5>>,
Function<[Await<R5>], R6> | Curry<Function<[Await<R5>], R6>>,
Function<[Await<R6>], R7> | Curry<Function<[Await<R6>], R7>>
]): Function<P, Promise<Await<R7>>>;
<R0, R1, R2, R3, R4, R5, R6, R7, R8, P extends any[]>(...fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>,
Function<[Await<R4>], R5>,
Function<[Await<R5>], R6>,
Function<[Await<R6>], R7>,
Function<[Await<R7>], R8>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>,
Function<[Await<R4>], R5> | Curry<Function<[Await<R4>], R5>>,
Function<[Await<R5>], R6> | Curry<Function<[Await<R5>], R6>>,
Function<[Await<R6>], R7> | Curry<Function<[Await<R6>], R7>>,
Function<[Await<R7>], R8> | Curry<Function<[Await<R7>], R8>>
]): Function<P, Promise<Await<R8>>>;
<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, P extends any[]>(...fns: [
Function<P, R0>,
Function<[Await<R0>], R1>,
Function<[Await<R1>], R2>,
Function<[Await<R2>], R3>,
Function<[Await<R3>], R4>,
Function<[Await<R4>], R5>,
Function<[Await<R5>], R6>,
Function<[Await<R6>], R7>,
Function<[Await<R7>], R8>,
Function<[Await<R8>], R9>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[Await<R0>], R1> | Curry<Function<[Await<R0>], R1>>,
Function<[Await<R1>], R2> | Curry<Function<[Await<R1>], R2>>,
Function<[Await<R2>], R3> | Curry<Function<[Await<R2>], R3>>,
Function<[Await<R3>], R4> | Curry<Function<[Await<R3>], R4>>,
Function<[Await<R4>], R5> | Curry<Function<[Await<R4>], R5>>,
Function<[Await<R5>], R6> | Curry<Function<[Await<R5>], R6>>,
Function<[Await<R6>], R7> | Curry<Function<[Await<R6>], R7>>,
Function<[Await<R7>], R8> | Curry<Function<[Await<R7>], R8>>,
Function<[Await<R8>], R9> | Curry<Function<[Await<R8>], R9>>
]): Function<P, Promise<Await<R9>>>;
};
/** @ignore */ /** */
import { Curry } from '../../Curry';
import { Function } from '../../Function';

@@ -8,76 +9,76 @@ /**

<R0, P extends any[]>(...fns: [
Function<P, R0>
Function<P, R0> | Curry<Function<P, R0>>
]): Function<P, R0>;
<R0, R1, P extends any[]>(...fns: [
Function<P, R0>,
Function<[R0], R1>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>
]): Function<P, R1>;
<R0, R1, R2, P extends any[]>(...fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>
]): Function<P, R2>;
<R0, R1, R2, R3, P extends any[]>(...fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>
]): Function<P, R3>;
<R0, R1, R2, R3, R4, P extends any[]>(...fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>
]): Function<P, R4>;
<R0, R1, R2, R3, R4, R5, P extends any[]>(...fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>,
Function<[R4], R5>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>,
Function<[R4], R5> | Curry<Function<[R4], R5>>
]): Function<P, R5>;
<R0, R1, R2, R3, R4, R5, R6, P extends any[]>(...fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>,
Function<[R4], R5>,
Function<[R5], R6>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>,
Function<[R4], R5> | Curry<Function<[R4], R5>>,
Function<[R5], R6> | Curry<Function<[R5], R6>>
]): Function<P, R6>;
<R0, R1, R2, R3, R4, R5, R6, R7, P extends any[]>(...fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>,
Function<[R4], R5>,
Function<[R5], R6>,
Function<[R6], R7>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>,
Function<[R4], R5> | Curry<Function<[R4], R5>>,
Function<[R5], R6> | Curry<Function<[R5], R6>>,
Function<[R6], R7> | Curry<Function<[R6], R7>>
]): Function<P, R7>;
<R0, R1, R2, R3, R4, R5, R6, R7, R8, P extends any[]>(...fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>,
Function<[R4], R5>,
Function<[R5], R6>,
Function<[R6], R7>,
Function<[R7], R8>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>,
Function<[R4], R5> | Curry<Function<[R4], R5>>,
Function<[R5], R6> | Curry<Function<[R5], R6>>,
Function<[R6], R7> | Curry<Function<[R6], R7>>,
Function<[R7], R8> | Curry<Function<[R7], R8>>
]): Function<P, R8>;
<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, P extends any[]>(...fns: [
Function<P, R0>,
Function<[R0], R1>,
Function<[R1], R2>,
Function<[R2], R3>,
Function<[R3], R4>,
Function<[R4], R5>,
Function<[R5], R6>,
Function<[R6], R7>,
Function<[R7], R8>,
Function<[R8], R9>
Function<P, R0> | Curry<Function<P, R0>>,
Function<[R0], R1> | Curry<Function<[R0], R1>>,
Function<[R1], R2> | Curry<Function<[R1], R2>>,
Function<[R2], R3> | Curry<Function<[R2], R3>>,
Function<[R3], R4> | Curry<Function<[R3], R4>>,
Function<[R4], R5> | Curry<Function<[R4], R5>>,
Function<[R5], R6> | Curry<Function<[R5], R6>>,
Function<[R6], R7> | Curry<Function<[R6], R7>>,
Function<[R7], R8> | Curry<Function<[R7], R8>>,
Function<[R8], R9> | Curry<Function<[R8], R9>>
]): Function<P, R9>;
};

@@ -6,2 +6,3 @@ /** @ignore */ /** */

export { Has } from './Has';
export { Intersect } from './Intersect';
export { IntersectOf } from './IntersectOf';

@@ -8,0 +9,0 @@ export { Last } from './Last';

@@ -12,2 +12,5 @@ import { Match } from '../Any/_Internal';

*/
export declare type Filter<U extends any, M extends any, match extends Match = 'default'> = U extends unknown ? Is<U, M, match> extends 1 ? never : U & M : never;
export declare type Filter<U extends any, M extends any, match extends Match = 'default'> = U extends unknown ? {
1: never;
0: U & M;
}[Is<U, M, match>] : never;

@@ -13,2 +13,5 @@ import { Is } from '../Any/Is';

*/
export declare type Replace<U extends any, M extends any, A extends any, match extends Match = 'default'> = U extends unknown ? Is<U, M, match> extends 1 ? A : U : never;
export declare type Replace<U extends any, M extends any, A extends any, match extends Match = 'default'> = U extends unknown ? {
1: A;
0: U;
}[Is<U, M, match>] : never;

@@ -12,2 +12,5 @@ import { Is } from '../Any/Is';

*/
export declare type Select<U extends any, M extends any, match extends Match = 'default'> = U extends unknown ? Is<U, M, match> extends 1 ? U & M : never : never;
export declare type Select<U extends any, M extends any, match extends Match = 'default'> = U extends unknown ? {
1: U & M;
0: never;
}[Is<U, M, match>] : never;
{
"name": "ts-toolbelt",
"version": "9.3.12",
"version": "9.5.0-test.1614542567864",
"description": "TypeScript's largest utility library",

@@ -5,0 +5,0 @@ "keywords": [

@@ -128,3 +128,3 @@ <p align="center">

// Make a field of an `object` optional
type optional = Object.Optional<{id: number, name: string}, "name"}>
type optional = Object.Optional<{id: number, name: string}, "name">
// {id: number, name?: string}

@@ -180,13 +180,13 @@ ```

|[Cast](https://millsp.github.io/ts-toolbelt/modules/any_cast.html)|[Compulsory](https://millsp.github.io/ts-toolbelt/modules/object_compulsory.html)|[AtLeast](https://millsp.github.io/ts-toolbelt/modules/list_atleast.html)|[Curry](https://millsp.github.io/ts-toolbelt/modules/function_curry.html)|[Length](https://millsp.github.io/ts-toolbelt/modules/string_length.html)|[Filter](https://millsp.github.io/ts-toolbelt/modules/union_filter.html)|[Parameters](https://millsp.github.io/ts-toolbelt/modules/class_parameters.html)|[Or](https://millsp.github.io/ts-toolbelt/modules/boolean_or.html)|[Greater](https://millsp.github.io/ts-toolbelt/modules/number_greater.html)|[Pick](https://millsp.github.io/ts-toolbelt/modules/object_p_pick.html)|[Key](https://millsp.github.io/ts-toolbelt/modules/iteration_key.html)|
|[Compute](https://millsp.github.io/ts-toolbelt/modules/any_compute.html)|[CompulsoryKeys](https://millsp.github.io/ts-toolbelt/modules/object_compulsorykeys.html)|[Compulsory](https://millsp.github.io/ts-toolbelt/modules/list_compulsory.html)|[Function](https://millsp.github.io/ts-toolbelt/modules/function_function.html)|[Replace](https://millsp.github.io/ts-toolbelt/modules/string_replace.html)|[Has](https://millsp.github.io/ts-toolbelt/modules/union_has.html)||[Xor](https://millsp.github.io/ts-toolbelt/modules/boolean_xor.html)|[GreaterEq](https://millsp.github.io/ts-toolbelt/modules/number_greatereq.html)|[Readonly](https://millsp.github.io/ts-toolbelt/modules/object_p_readonly.html)|[Next](https://millsp.github.io/ts-toolbelt/modules/iteration_next.html)|
|[Contains](https://millsp.github.io/ts-toolbelt/modules/any_contains.html)|[Diff](https://millsp.github.io/ts-toolbelt/modules/object_diff.html)|[CompulsoryKeys](https://millsp.github.io/ts-toolbelt/modules/list_compulsorykeys.html)|[Length](https://millsp.github.io/ts-toolbelt/modules/function_length.html)|[Split](https://millsp.github.io/ts-toolbelt/modules/string_split.html)|[IntersectOf](https://millsp.github.io/ts-toolbelt/modules/union_intersectof.html)|||[IsNegative](https://millsp.github.io/ts-toolbelt/modules/number_isnegative.html)|[Update](https://millsp.github.io/ts-toolbelt/modules/object_p_update.html)|[Pos](https://millsp.github.io/ts-toolbelt/modules/iteration_pos.html)|
|[Equals](https://millsp.github.io/ts-toolbelt/modules/any_equals.html)|[Either](https://millsp.github.io/ts-toolbelt/modules/object_either.html)|[Concat](https://millsp.github.io/ts-toolbelt/modules/list_concat.html)|[NoInfer](https://millsp.github.io/ts-toolbelt/modules/function_noinfer.html)||[Last](https://millsp.github.io/ts-toolbelt/modules/union_last.html)|||[IsPositive](https://millsp.github.io/ts-toolbelt/modules/number_ispositive.html)|[Record](https://millsp.github.io/ts-toolbelt/modules/object_p_record.html)|[Prev](https://millsp.github.io/ts-toolbelt/modules/iteration_prev.html)|
|[Extends](https://millsp.github.io/ts-toolbelt/modules/any_extends.html)|[Exclude](https://millsp.github.io/ts-toolbelt/modules/object_exclude.html)|[Diff](https://millsp.github.io/ts-toolbelt/modules/list_diff.html)|[Parameters](https://millsp.github.io/ts-toolbelt/modules/function_parameters.html)||[Merge](https://millsp.github.io/ts-toolbelt/modules/union_merge.html)|||[IsZero](https://millsp.github.io/ts-toolbelt/modules/number_iszero.html)|||
|[Key](https://millsp.github.io/ts-toolbelt/modules/any_key.html)|[ExcludeKeys](https://millsp.github.io/ts-toolbelt/modules/object_excludekeys.html)|[Drop](https://millsp.github.io/ts-toolbelt/modules/list_drop.html)|[Pipe](https://millsp.github.io/ts-toolbelt/modules/function_pipe.html)||[NonNullable](https://millsp.github.io/ts-toolbelt/modules/union_nonnullable.html)|||[Lower](https://millsp.github.io/ts-toolbelt/modules/number_lower.html)|||
|[Keys](https://millsp.github.io/ts-toolbelt/modules/any_keys.html)|[Filter](https://millsp.github.io/ts-toolbelt/modules/object_filter.html)|[Either](https://millsp.github.io/ts-toolbelt/modules/list_either.html)|[Promisify](https://millsp.github.io/ts-toolbelt/modules/function_promisify.html)||[Nullable](https://millsp.github.io/ts-toolbelt/modules/union_nullable.html)|||[LowerEq](https://millsp.github.io/ts-toolbelt/modules/number_lowereq.html)|||
|[KnownKeys](https://millsp.github.io/ts-toolbelt/modules/any_knownkeys.html)|[FilterKeys](https://millsp.github.io/ts-toolbelt/modules/object_filterkeys.html)|[Exclude](https://millsp.github.io/ts-toolbelt/modules/list_exclude.html)|[Return](https://millsp.github.io/ts-toolbelt/modules/function_return.html)||[Pop](https://millsp.github.io/ts-toolbelt/modules/union_pop.html)|||[Negate](https://millsp.github.io/ts-toolbelt/modules/number_negate.html)|||
|[Is](https://millsp.github.io/ts-toolbelt/modules/any_is.html)|[Has](https://millsp.github.io/ts-toolbelt/modules/object_has.html)|[ExcludeKeys](https://millsp.github.io/ts-toolbelt/modules/list_excludekeys.html)|[UnCurry](https://millsp.github.io/ts-toolbelt/modules/function_uncurry.html)||[Replace](https://millsp.github.io/ts-toolbelt/modules/union_replace.html)|||[Range](https://millsp.github.io/ts-toolbelt/modules/number_range.html)|||
|[Promise](https://millsp.github.io/ts-toolbelt/modules/any_promise.html)|[HasPath](https://millsp.github.io/ts-toolbelt/modules/object_haspath.html)|[Extract](https://millsp.github.io/ts-toolbelt/modules/list_extract.html)|[ValidPath](https://millsp.github.io/ts-toolbelt/modules/function_validpath.html)||[Select](https://millsp.github.io/ts-toolbelt/modules/union_select.html)|||[Sub](https://millsp.github.io/ts-toolbelt/modules/number_sub.html)|||
|[Try](https://millsp.github.io/ts-toolbelt/modules/any_try.html)|[Includes](https://millsp.github.io/ts-toolbelt/modules/object_includes.html)|[Filter](https://millsp.github.io/ts-toolbelt/modules/list_filter.html)|||[Strict](https://millsp.github.io/ts-toolbelt/modules/union_strict.html)||||||
|[Type](https://millsp.github.io/ts-toolbelt/modules/any_type.html)|[Intersect](https://millsp.github.io/ts-toolbelt/modules/object_intersect.html)|[FilterKeys](https://millsp.github.io/ts-toolbelt/modules/list_filterkeys.html)|||[ListOf](https://millsp.github.io/ts-toolbelt/modules/union_listof.html)||||||
|[Compute](https://millsp.github.io/ts-toolbelt/modules/any_compute.html)|[CompulsoryKeys](https://millsp.github.io/ts-toolbelt/modules/object_compulsorykeys.html)|[Compulsory](https://millsp.github.io/ts-toolbelt/modules/list_compulsory.html)|[Exact](https://millsp.github.io/ts-toolbelt/modules/function_exact.html)|[Replace](https://millsp.github.io/ts-toolbelt/modules/string_replace.html)|[Has](https://millsp.github.io/ts-toolbelt/modules/union_has.html)||[Xor](https://millsp.github.io/ts-toolbelt/modules/boolean_xor.html)|[GreaterEq](https://millsp.github.io/ts-toolbelt/modules/number_greatereq.html)|[Readonly](https://millsp.github.io/ts-toolbelt/modules/object_p_readonly.html)|[Next](https://millsp.github.io/ts-toolbelt/modules/iteration_next.html)|
|[Contains](https://millsp.github.io/ts-toolbelt/modules/any_contains.html)|[Diff](https://millsp.github.io/ts-toolbelt/modules/object_diff.html)|[CompulsoryKeys](https://millsp.github.io/ts-toolbelt/modules/list_compulsorykeys.html)|[Function](https://millsp.github.io/ts-toolbelt/modules/function_function.html)|[Split](https://millsp.github.io/ts-toolbelt/modules/string_split.html)|[IntersectOf](https://millsp.github.io/ts-toolbelt/modules/union_intersectof.html)|||[IsNegative](https://millsp.github.io/ts-toolbelt/modules/number_isnegative.html)|[Update](https://millsp.github.io/ts-toolbelt/modules/object_p_update.html)|[Pos](https://millsp.github.io/ts-toolbelt/modules/iteration_pos.html)|
|[Equals](https://millsp.github.io/ts-toolbelt/modules/any_equals.html)|[Either](https://millsp.github.io/ts-toolbelt/modules/object_either.html)|[Concat](https://millsp.github.io/ts-toolbelt/modules/list_concat.html)|[Length](https://millsp.github.io/ts-toolbelt/modules/function_length.html)||[Last](https://millsp.github.io/ts-toolbelt/modules/union_last.html)|||[IsPositive](https://millsp.github.io/ts-toolbelt/modules/number_ispositive.html)|[Record](https://millsp.github.io/ts-toolbelt/modules/object_p_record.html)|[Prev](https://millsp.github.io/ts-toolbelt/modules/iteration_prev.html)|
|[Extends](https://millsp.github.io/ts-toolbelt/modules/any_extends.html)|[Exclude](https://millsp.github.io/ts-toolbelt/modules/object_exclude.html)|[Diff](https://millsp.github.io/ts-toolbelt/modules/list_diff.html)|[Narrow](https://millsp.github.io/ts-toolbelt/modules/function_narrow.html)||[Merge](https://millsp.github.io/ts-toolbelt/modules/union_merge.html)|||[IsZero](https://millsp.github.io/ts-toolbelt/modules/number_iszero.html)|||
|[Key](https://millsp.github.io/ts-toolbelt/modules/any_key.html)|[ExcludeKeys](https://millsp.github.io/ts-toolbelt/modules/object_excludekeys.html)|[Drop](https://millsp.github.io/ts-toolbelt/modules/list_drop.html)|[NoInfer](https://millsp.github.io/ts-toolbelt/modules/function_noinfer.html)||[NonNullable](https://millsp.github.io/ts-toolbelt/modules/union_nonnullable.html)|||[Lower](https://millsp.github.io/ts-toolbelt/modules/number_lower.html)|||
|[Keys](https://millsp.github.io/ts-toolbelt/modules/any_keys.html)|[Filter](https://millsp.github.io/ts-toolbelt/modules/object_filter.html)|[Either](https://millsp.github.io/ts-toolbelt/modules/list_either.html)|[Parameters](https://millsp.github.io/ts-toolbelt/modules/function_parameters.html)||[Nullable](https://millsp.github.io/ts-toolbelt/modules/union_nullable.html)|||[LowerEq](https://millsp.github.io/ts-toolbelt/modules/number_lowereq.html)|||
|[KnownKeys](https://millsp.github.io/ts-toolbelt/modules/any_knownkeys.html)|[FilterKeys](https://millsp.github.io/ts-toolbelt/modules/object_filterkeys.html)|[Exclude](https://millsp.github.io/ts-toolbelt/modules/list_exclude.html)|[Pipe](https://millsp.github.io/ts-toolbelt/modules/function_pipe.html)||[Pop](https://millsp.github.io/ts-toolbelt/modules/union_pop.html)|||[Negate](https://millsp.github.io/ts-toolbelt/modules/number_negate.html)|||
|[Is](https://millsp.github.io/ts-toolbelt/modules/any_is.html)|[Has](https://millsp.github.io/ts-toolbelt/modules/object_has.html)|[ExcludeKeys](https://millsp.github.io/ts-toolbelt/modules/list_excludekeys.html)|[Promisify](https://millsp.github.io/ts-toolbelt/modules/function_promisify.html)||[Replace](https://millsp.github.io/ts-toolbelt/modules/union_replace.html)|||[Range](https://millsp.github.io/ts-toolbelt/modules/number_range.html)|||
|[Promise](https://millsp.github.io/ts-toolbelt/modules/any_promise.html)|[HasPath](https://millsp.github.io/ts-toolbelt/modules/object_haspath.html)|[Extract](https://millsp.github.io/ts-toolbelt/modules/list_extract.html)|[Return](https://millsp.github.io/ts-toolbelt/modules/function_return.html)||[Select](https://millsp.github.io/ts-toolbelt/modules/union_select.html)|||[Sub](https://millsp.github.io/ts-toolbelt/modules/number_sub.html)|||
|[Try](https://millsp.github.io/ts-toolbelt/modules/any_try.html)|[Includes](https://millsp.github.io/ts-toolbelt/modules/object_includes.html)|[Filter](https://millsp.github.io/ts-toolbelt/modules/list_filter.html)|[UnCurry](https://millsp.github.io/ts-toolbelt/modules/function_uncurry.html)||[Strict](https://millsp.github.io/ts-toolbelt/modules/union_strict.html)||||||
|[Type](https://millsp.github.io/ts-toolbelt/modules/any_type.html)|[Intersect](https://millsp.github.io/ts-toolbelt/modules/object_intersect.html)|[FilterKeys](https://millsp.github.io/ts-toolbelt/modules/list_filterkeys.html)|[ValidPath](https://millsp.github.io/ts-toolbelt/modules/function_validpath.html)||[ListOf](https://millsp.github.io/ts-toolbelt/modules/union_listof.html)||||||
|[x](https://millsp.github.io/ts-toolbelt/modules/any_x.html)|[IntersectKeys](https://millsp.github.io/ts-toolbelt/modules/object_intersectkeys.html)|[Flatten](https://millsp.github.io/ts-toolbelt/modules/list_flatten.html)|||||||||

@@ -249,2 +249,3 @@ ||[Invert](https://millsp.github.io/ts-toolbelt/modules/object_invert.html)|[Group](https://millsp.github.io/ts-toolbelt/modules/list_group.html)|||||||||

|||[ZipObj](https://millsp.github.io/ts-toolbelt/modules/list_zipobj.html)|||||||||
### [Archives ⤢](https://github.com/millsp/ts-toolbelt/tree/gh-pages)

@@ -251,0 +252,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc