From aee5d90a2397e68a753ab05e20566d0a23604931 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 14 Jan 2023 17:15:22 +0530 Subject: chore: prettier --- src/types.ts | 2 +- src/util.ts | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/types.ts b/src/types.ts index 55d2cce..7be4c98 100644 --- a/src/types.ts +++ b/src/types.ts @@ -14,7 +14,7 @@ export interface Ctx { getTypeValue: (ty: Type | undefined) => any createResult: (ty: string) => [string, Node | undefined] - removeResult: (key?: string) => void, + removeResult: (key?: string) => void getResultExpr: (key?: string) => string printResultNode: () => void 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 } - -- cgit v1.3.1