Skip to content

Commit

Permalink
Add missing return type (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredj authored and calvinmetcalf committed Jan 16, 2018
1 parent c186c44 commit 35567e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/mgrs.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ function encode(utm, accuracy) {
* @param {number} easting
* @param {number} northing
* @param {number} zoneNumber
* @return the two letter 100k designator for the given UTM location.
* @return {string} the two letter 100k designator for the given UTM location.
*/
function get100kID(easting, northing, zoneNumber) {
var setParm = get100kSetForZone(zoneNumber);
Expand Down Expand Up @@ -420,7 +420,7 @@ function get100kSetForZone(i) {
* @param {number} parm the set block, as it relates to the MGRS 100k set
* spreadsheet, created from the UTM zone. Values are from
* 1-60.
* @return two letter MGRS 100k code.
* @return {string} two letter MGRS 100k code.
*/
function getLetter100kID(column, row, parm) {
// colOrigin and rowOrigin are the letters at the origin of the set
Expand Down
4 changes: 2 additions & 2 deletions mgrs.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ function encode(utm, accuracy) {
* @param {number} easting
* @param {number} northing
* @param {number} zoneNumber
* @return the two letter 100k designator for the given UTM location.
* @return {string} the two letter 100k designator for the given UTM location.
*/
function get100kID(easting, northing, zoneNumber) {
var setParm = get100kSetForZone(zoneNumber);
Expand Down Expand Up @@ -417,7 +417,7 @@ function get100kSetForZone(i) {
* @param {number} parm the set block, as it relates to the MGRS 100k set
* spreadsheet, created from the UTM zone. Values are from
* 1-60.
* @return two letter MGRS 100k code.
* @return {string} two letter MGRS 100k code.
*/
function getLetter100kID(column, row, parm) {
// colOrigin and rowOrigin are the letters at the origin of the set
Expand Down

0 comments on commit 35567e7

Please sign in to comment.