aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-01-14 11:27:51 +0530
committerAkshay Nair <phenax5@gmail.com>2023-01-14 11:27:51 +0530
commitb347afc70c305b47860a40bac43c3fe407a3c25a (patch)
treef8bdf2ab6bbd070e6cf1fae8b16a25c268c765ad /src/types.ts
parent97817711d3eebaacc354a77aa83bc9544cc87d42 (diff)
downloadts-types-lang-b347afc70c305b47860a40bac43c3fe407a3c25a.tar.gz
ts-types-lang-b347afc70c305b47860a40bac43c3fe407a3c25a.zip
chore: prettier
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/types.ts b/src/types.ts
index 411c8ed..6ea282e 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -29,11 +29,11 @@ export interface Ctx {
runCustomEffect: (name: string, args: Type[]) => Promise<string[]>
hasCustomEffect: (name: string) => boolean
- evaluateType: (ctx: Ctx, effTyp: Type) => Promise<string[]>,
+ evaluateType: (ctx: Ctx, effTyp: Type) => Promise<string[]>
- withScope: (fn: () => Promise<string[]>) => (() => Promise<string[]>),
- newScope: () => void,
- clearScope: () => void,
- addToScope: (name: string, resKey: string) => void,
- getKeyInScope: (name: string) => string | undefined,
+ withScope: (fn: () => Promise<string[]>) => () => Promise<string[]>
+ newScope: () => void
+ clearScope: () => void
+ addToScope: (name: string, resKey: string) => void
+ getKeyInScope: (name: string) => string | undefined
}