Specified typings for functions returning void

-- note that removeKeyMap in codemirror.js returns true sometimes
-- but I think it should only return