Throwable block fix

This commit is contained in:
Pavel Lukandiy 2019-03-13 21:28:42 +05:00
parent f6b39ddcf7
commit 192a30bfa6
1 changed files with 1 additions and 1 deletions

View File

@ -36,4 +36,4 @@ public typealias VoidBlock = ResultBlock<Void>
public typealias ThrowableBlock<Input, Output> = (Input) throws -> Output
/// Closure that takes no arguments, may throw an error and returns Void.
public typealias ThrowableVoidBlock = ThrowableBlock<Void, Void>
public typealias ThrowableVoidBlock = () throws -> Void