| Index: lib/src/delegate/event_sink.dart
|
| diff --git a/lib/src/delegate/event_sink.dart b/lib/src/delegate/event_sink.dart
|
| index 14501b28d3ea65906c4cf3ebd51cf5a5c61e74ac..54c3e52b65098d25ac06f48d970df78862373cde 100644
|
| --- a/lib/src/delegate/event_sink.dart
|
| +++ b/lib/src/delegate/event_sink.dart
|
| @@ -22,8 +22,8 @@ class DelegatingEventSink<T> implements EventSink<T> {
|
| /// instance of `EventSink`, not `EventSink<T>`. This means that calls to
|
| /// [add] may throw a [CastError] if the argument type doesn't match the
|
| /// reified type of [sink].
|
| - static EventSink/*<T>*/ typed/*<T>*/(EventSink sink) =>
|
| - sink is EventSink/*<T>*/ ? sink : new DelegatingEventSink._(sink);
|
| + static EventSink<T> typed<T>(EventSink sink) =>
|
| + sink is EventSink<T> ? sink : new DelegatingEventSink._(sink);
|
|
|
| void add(T data) {
|
| _sink.add(data);
|
|
|