Tweak last commit to force only returntype but default configtype to js if not specified