Issue raised in this PR: https://github.com/Azure/azure-functions-nodejs-worker/pull/263 > What will happen in case the type is not defined in these if, specially there is no else default case? This case should not ever happen. We should change the default to something more helpful than doing nothing