diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-06-20 14:53:38 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-06-20 14:53:38 -0700 |
commit | d4791f3d357634daf506fb8f91cc5332a794c421 (patch) | |
tree | 1bb01d2d4d8fa74d83bb6f99f2c8aa4146ca2d11 /u/fn/callable.ts | |
parent | d7e8d31c94cd713a2f4cf799e20e993acc69e361 (diff) | |
download | ci-d4791f3d357634daf506fb8f91cc5332a794c421.tar.gz ci-d4791f3d357634daf506fb8f91cc5332a794c421.zip |
Move to nodejs
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> {} |