diff options
Diffstat (limited to 'src/util.ts')
| -rw-r--r-- | src/util.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/util.ts b/src/util.ts index 2746746..a486294 100644 --- a/src/util.ts +++ b/src/util.ts @@ -14,7 +14,11 @@ export const evalList = async (ctx: Ctx, effectTyps: Type[]) => { return effectResults } -export const applyFunc = (ctx: Ctx, fn: Type | undefined, val: string): Type => { +export const applyFunc = ( + ctx: Ctx, + fn: Type | undefined, + val: string +): Type => { const resultType = (() => { const baseTypes = fn ?.getBaseTypes() @@ -73,4 +77,3 @@ export const applyFunc = (ctx: Ctx, fn: Type | undefined, val: string): Type => return resultType } - |
