diff options
Diffstat (limited to 'src/types.ts')
| -rw-r--r-- | src/types.ts | 12 |
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 } |
