Add ': void' to non returning functions (error TS7014)
This commit is contained in:
@@ -189,7 +189,7 @@ class TileGrid {
|
||||
*
|
||||
* @param {import("../extent.js").Extent} extent Extent.
|
||||
* @param {number} zoom Integer zoom level.
|
||||
* @param {function(import("../tilecoord.js").TileCoord)} callback Function called with each tile coordinate.
|
||||
* @param {function(import("../tilecoord.js").TileCoord): void} callback Function called with each tile coordinate.
|
||||
* @api
|
||||
*/
|
||||
forEachTileCoord(extent, zoom, callback) {
|
||||
|
||||
Reference in New Issue
Block a user