UNPKG
@action-land/component
Version:
latest (8.4.2)
8.4.2
8.4.1
8.4.0
8.3.0
8.2.0
8.1.1
8.1.0
8.0.0
7.0.1
7.0.0
6.0.0
5.1.0
5.0.0
4.6.2
4.6.1
4.6.0
4.5.1
4.5.0
4.4.2
4.4.1
4.4.0
4.3.0
4.2.0
4.1.0
4.0.1
4.0.0
3.0.0
2.0.1
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
Basic interface for a component
github.com/action-land/action-land
action-land/action-land
@action-land/component
/
types
/
pickValue.d.ts
9 lines
(8 loc)
•
249 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/** * Extracts values types of the provided key in an object *
@typeparam
O key-value object *
@typeparam
K key of object [O] *
@return
type of O[K] *
@category
ComponentNext
*/
export
declare
type
PP
<O, K> = K
extends
keyof O ? O[K] :
never
;