import { CustomDetector , DetectorOptions } from 'i18next-browser-languagedetector' ; export const fallback = ( fallbackLanguage ) : CustomDetector => { return { name : 'fallback' , lookup : ( options ) : string => { return fallbackLanguage ; } , cacheUserLanguage : ( ) : void => { } , } ; } ; export default fallback ;