import { I18nOptionResolver } from '../interfaces/i18n-options.interface' ; export function shouldResolve ( e ) { return ( typeof e === 'function' || ( e . hasOwnProperty ( 'use' ) && e . hasOwnProperty ( 'options' ) ) ) ; }