The correct JSDoc syntax is to use all lowercase for primitive (or built-in) types like boolean, string and number. (see https://developers.google.com/closure/compiler/docs/js-for-compiler)