| Index: lib/src/typed/future.dart
|
| diff --git a/lib/src/typed/future.dart b/lib/src/typed/future.dart
|
| index 995f4b5ca4fe9d33a8c0a36cacd06bb66cf50c31..4630af7dade65761272c1ff8db5ab6defdee1a02 100644
|
| --- a/lib/src/typed/future.dart
|
| +++ b/lib/src/typed/future.dart
|
| @@ -14,7 +14,7 @@ class TypeSafeFuture<T> implements Future<T> {
|
| Future<T> catchError(Function onError, {bool test(Object error)}) async =>
|
| new TypeSafeFuture<T>(_future.catchError(onError, test: test));
|
|
|
| - Future/*<S>*/ then/*<S>*/(dynamic onValue(T value), {Function onError}) =>
|
| + Future<S> then<S>(dynamic onValue(T value), {Function onError}) =>
|
| _future.then((value) => onValue(value as T), onError: onError);
|
|
|
| Future<T> whenComplete(action()) =>
|
|
|