Be more strict with {Element} types

This commit is contained in:
Frederic Junod
2013-11-12 10:22:27 +01:00
parent 1560fbace3
commit ca5960666d
4 changed files with 13 additions and 9 deletions

View File

@@ -93,7 +93,7 @@ ol.renderer.Map.prototype.disposeInternal = function() {
/**
* @return {Element} Canvas.
* @return {HTMLCanvasElement} Canvas.
*/
ol.renderer.Map.prototype.getCanvas = goog.functions.NULL;