It shouldn't matter, since the 2018 Mac Mini, could originally support Mojave, you can still install Mojave onto it, as long as you have a bootable USB Mojave installer.