diff options
Diffstat (limited to 'u/fn/callable.ts')
-rw-r--r-- | u/fn/callable.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/u/fn/callable.ts b/u/fn/callable.ts index cfb7d00..8a61057 100644 --- a/u/fn/callable.ts +++ b/u/fn/callable.ts @@ -1,18 +1,18 @@ // deno-lint-ignore no-explicit-any export interface Callable<T = any, ArgT = any> { - (...args: Array<ArgT>): T; + (...args: Array<ArgT>): T; } export interface Supplier<T> extends Callable<T, undefined> { - (): T; + (): T; } export interface Mapper<T, U> extends Callable<U, T> { - (t: T): U; + (t: T): U; } export interface BiMapper<T, U, R> extends Callable { - (t: T, u: U): R; + (t: T, u: U): R; } export interface SideEffect<T> extends Mapper<T, void> {} |