import { defineMessages , MessageDescriptor } from 'react-intl' ; interface IConfigMessages extends Record < string | number | symbol , MessageDescriptor > { applicationSettings : MessageDescriptor ; certificateConfiguration : MessageDescriptor ; } const messagesToDefine = { applicationSettings : { id : 'config.applicationSettings' , defaultMessage : 'Application settings' , description : 'Link Text for Config Application Settings' } , certificateConfiguration : { id : 'config.certificateConfiguration' , defaultMessage : 'Certificate configuration' , description : 'Link Text for Config Application Settings' } } ; export const messages = defineMessages ( messagesToDefine ) ;