fix(api-docs): s/mergableTypes/mergeableTypes

Somehow the test I wrote for the previous PR was passing, even though the config option was spelled wrong.  Is the test I wrote actually testing anything?

I also fixed an error if the config option was null.