Closed hongrich closed 5 months ago
This change was originally made in #111. Pick type only takes two parameters: https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys
The keys should be unioned with |. 'path' and 'animationData' are separated with , which makes them invalid. They also don't need to be picked from AnimationConfig since we already add them in explicitly.
|
'path'
'animationData'
,
AnimationConfig
This change was originally made in #111. Pick type only takes two parameters: https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys
The keys should be unioned with
|
.'path'
and'animationData'
are separated with,
which makes them invalid. They also don't need to be picked fromAnimationConfig
since we already add them in explicitly.