[Timer] Return generic SignedIntegerType Observable for timer instead of Int64

This commit is contained in:
Thane Gill 2016-01-29 01:00:19 -08:00 committed by Krunoslav Zaher
parent 14efe368a7
commit 7e8884d94c
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ extension Observable where Element: SignedIntegerType {
*/
@warn_unused_result(message="http://git.io/rxs.uo")
public static func timer(dueTime: RxTimeInterval, scheduler: SchedulerType)
-> Observable<Int64> {
-> Observable<E> {
return Timer(
dueTime: dueTime,
period: nil,