const allSteps = {
'install-app': {
title: 'Installing GH app to your GitHub account',
onRetry: () => {} ,
},
'generate-uat': {
title: 'Generating Access Tokens',
desc: '',
onRetry: () => {} ,
},
'storing-locally': {
title: 'Store access tokens securely on device',
onRetry: () => {}
},
}
Is there a type to merge value of a Record
where each value is an object?
for example
type StepProps = MergeRecordValues<typeof allSteps>
// StepProps = { title: string, onRetry: ()=>{}, desc?: string}
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too