1 2 3 4 5 6 7 8 9 10
import PropTypes from 'prop-types'; import type { ActionDefinitions } from './lib/actions'; export default <ActionDefinitions>{ install: { recipeId: PropTypes.string.isRequired, update: PropTypes.bool, }, update: {}, };