Unverified Commit 1ae5d676 authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

implicit-casts:false in flutter/lib/src/scheduler (#45721)

parent 9d574d2c
......@@ -433,8 +433,8 @@ class TickerFuture implements Future<void> {
}
@override
Future<E> then<E>(dynamic f(void value), { Function onError }) {
return _primaryCompleter.future.then<E>(f, onError: onError);
Future<R> then<R>(FutureOr<R> onValue(void value), { Function onError }) {
return _primaryCompleter.future.then<R>(onValue, onError: onError);
}
@override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment