diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-01-14 17:15:22 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-01-14 17:15:22 +0530 |
| commit | aee5d90a2397e68a753ab05e20566d0a23604931 (patch) | |
| tree | 9aaaf64102ffbdb067e1fc3374513482ddc8e28f /src/util.ts | |
| parent | cd11925707c42843df195d9b2efb3c77b5de793b (diff) | |
| download | ts-types-lang-aee5d90a2397e68a753ab05e20566d0a23604931.tar.gz ts-types-lang-aee5d90a2397e68a753ab05e20566d0a23604931.zip | |
chore: prettier
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 } - |
