import { notification } from 'antd' ; export const notify = ( message , description , type = 'open' ) : void => { notification [ type ] ( { message , description : description === 'ok' ? undefined : description } ) ; } ;