Remove questionable typeof

As per discussion here:
https://github.com/purescript/purescript-globals/commit/680106ae9e429a8af7b11ff03b2cf9670c825a97
and it seems to be unused. If we need to re-add it, then perhaps we can
do so in an improved form somehow.
Add generated docs