go: Fix compile error (#19101)

This commit is contained in:
Andy
2017-08-22 13:49:01 -07:00
committed by GitHub
parent bd4e914901
commit 5d7bbfb34e

16
types/go/index.d.ts vendored
View File

@@ -5452,7 +5452,7 @@ declare namespace go {
/**
* Copies properties from this model to the given model, which must be of the same class as this model.
* @param {Model} copy
* @param {Model} copy
*/
protected cloneProtected(copy: Model): void;
@@ -6629,7 +6629,7 @@ declare namespace go {
/**
* Copies properties from this layout to the given layout, which must be of the same class as this layout.
* @param {Layout} copy
* @param {Layout} copy
*/
protected cloneProtected(copy: Layout): void;
@@ -8872,12 +8872,6 @@ declare namespace go {
*/
any(pred: (x: T) => boolean): boolean;
/**
* Produce an Iterator that first iterates over the items of this Iterator and then iterates over the items of the given Iterator.
* @param {Iterable.<T>} it An Iterable
*/
concat<S>(it: Iterable<S>): Iterator<S | T>;
/**
* Call the given function on each item in the collection.
* @param {(x: T) => void} func
@@ -8895,12 +8889,6 @@ declare namespace go {
*/
first(): T;
/**
* Call the given function on each item in the collection and present the results in an iterator.
* @param {function(T)} func This function must not modify the collection.
*/
map<S>(func: (x: T) => S): Iterator<S>;
/**
* Call this method to advance the iterator to the next item in the collection.
*/