UNPKG
fp-ts-routing
Version:
latest (0.7.0)
next (0.1.0)
0.7.0
0.6.0
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.0
0.0.1
A type-safe routing library for TypeScript
github.com/gcanti/fp-ts-routing
gcanti/fp-ts-routing
fp-ts-routing
/
lib
/
helpers.d.ts
12 lines
(11 loc)
•
262 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/** *
@since
0.6.0 */
/** * Encodes the constraint that a given object `O` * does not contain specific keys `K` * *
@category
helpers
*
@since
0.4.0 */
export
type
RowLacks
<O, K
extends
string
|
number
|
symbol
> = O &
Record
<
Extract
<keyof O, K>,
never
>;