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/exception.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/exception.ts')
| -rw-r--r-- | stdlib/exception.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/exception.ts b/stdlib/exception.ts index ddb980c..d137a87 100644 --- a/stdlib/exception.ts +++ b/stdlib/exception.ts @@ -1,5 +1,5 @@ -import { Effect, Kind1 } from './effect' +import { Effect, Func } from './effect' -export interface Try<_E extends Effect, _Catch extends Kind1> extends Effect {} +export interface Try<_E extends Effect, _Catch extends Func> extends Effect {} export interface Throw<_E> extends Effect {} |
