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
/
mergeProps.d.ts
8 lines
(7 loc)
•
196 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * Overwrite the props in T with props in S. *
@typeparam
T Base object *
@typeparam
S New object *
@category
ComponentNext
*/
export
declare
type
mergeProps<T, S> =
Omit
<T, keyof S> & S;