Make setAnnotations' boolean parameter optional. kberg-patch-1
authorRobert Konigsberg <kberg@users.noreply.github.com>
Tue, 7 Mar 2017 02:07:39 +0000 (21:07 -0500)
committerGitHub <noreply@github.com>
Tue, 7 Mar 2017 02:07:39 +0000 (21:07 -0500)
dygraph-externs.js

index 9cf9568..db222c7 100644 (file)
@@ -142,7 +142,7 @@ Dygraph.prototype.visibility;
 /** @type {function(number, boolean)} */
 Dygraph.prototype.setVisibility;
 
-/** @type {function(Array.<Object>, boolean)} */
+/** @type {function(Array.<Object>, boolean=)} */
 Dygraph.prototype.setAnnotations;
 
 /** @type {function(): Array.<Object>} */