openlayers: add return type to Control.setTarget

This commit is contained in:
Chris Rowe
2016-08-31 10:47:10 +01:00
parent 221f10c7f7
commit 2f8791fc63
+1 -1
View File
@@ -2451,7 +2451,7 @@ declare namespace ol {
* If no target is set in the options passed to the control constructor and if setTarget is not called then the control is
* added to the map's overlay container.
*/
setTarget(target: Element | string)
setTarget(target: Element | string):void;
}