Use void for optional return type

This commit is contained in:
Kevin Schmidt
2018-10-03 13:23:05 -06:00
parent 144c2f9f15
commit 8d9fe7f688
2 changed files with 4 additions and 1 deletions

View File

@@ -43,6 +43,9 @@ class LayerRenderer extends Observable {
* @return {boolean} The tile range is fully loaded.
*/
function(zoom, tileRange) {
/**
* @param {import("../Tile.js").default} tile Tile.
*/
function callback(tile) {
if (!tiles[zoom]) {
tiles[zoom] = {};