We never reach `CompileFetchedModule` if we have an unknown module type since we take the module type into account when we do mime type checking, so the file always fails to load because of MIME mismatch, and we don't get the expected `TypeError.` Checking if we have an unknown type should happen much earlier in the process. Differential Revision: https://phabricator.services.mozilla.com/D222222