| Index: lib/src/delegate/stream.dart
|
| diff --git a/lib/src/delegate/stream.dart b/lib/src/delegate/stream.dart
|
| index 75622187d252884d12587de21a0905dd08e2f7d0..d08b4ab828e589308b9f328c80b1db55936ee883 100644
|
| --- a/lib/src/delegate/stream.dart
|
| +++ b/lib/src/delegate/stream.dart
|
| @@ -23,6 +23,6 @@ class DelegatingStream<T> extends StreamView<T> {
|
| /// original generic type, by asserting that its events are instances of `T`
|
| /// whenever they're provided. If they're not, the stream throws a
|
| /// [CastError].
|
| - static Stream/*<T>*/ typed/*<T>*/(Stream stream) =>
|
| - stream is Stream/*<T>*/ ? stream : new TypeSafeStream/*<T>*/(stream);
|
| + static Stream<T> typed<T>(Stream stream) =>
|
| + stream is Stream<T> ? stream : new TypeSafeStream<T>(stream);
|
| }
|
|
|