fix(jshint): type errors