diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-01-14 10:37:51 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-01-14 10:43:20 +0530 |
| commit | efe0ab336144d2d965bf355db02762f5cf539c7f (patch) | |
| tree | 5447c661ffed03e833d7283d3b174bb22fdd2e7a /stdlib/effect.ts | |
| parent | 2979eda13e25725683aa10292b31f22793c4e0c0 (diff) | |
| download | ts-types-lang-efe0ab336144d2d965bf355db02762f5cf539c7f.tar.gz ts-types-lang-efe0ab336144d2d965bf355db02762f5cf539c7f.zip | |
feat: adds func to try/catch
Diffstat (limited to 'stdlib/effect.ts')
| -rw-r--r-- | stdlib/effect.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/effect.ts b/stdlib/effect.ts index 0662d00..341a620 100644 --- a/stdlib/effect.ts +++ b/stdlib/effect.ts @@ -7,7 +7,7 @@ export interface Kind1<Inp = unknown, Out = unknown> { return: Out } -type Func<Inp = unknown, Out = unknown> +export type Func<Inp = unknown, Out = unknown> = Kind1<Inp, Out> | (<_T extends Inp>() => Out) |
