gwtd3 / gwt-d3

A GWT wrapper library around the d3.js library
Other
131 stars 53 forks source link

ForEachCallback should type the array with a generic type #118

Open anthonime opened 9 years ago

anthonime commented 9 years ago

Turn :

public interface ForEachCallback { T forEach(Object thisArg, Value element, int index, Array<?> array); }

into public interface ForEachCallback<T,E> { T forEach(Object thisArg, E element, int index, Array array); }