aboutsummaryrefslogtreecommitdiff
path: root/src/util.ts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-01-14 17:15:22 +0530
committerAkshay Nair <phenax5@gmail.com>2023-01-14 17:15:22 +0530
commitaee5d90a2397e68a753ab05e20566d0a23604931 (patch)
tree9aaaf64102ffbdb067e1fc3374513482ddc8e28f /src/util.ts
parentcd11925707c42843df195d9b2efb3c77b5de793b (diff)
downloadts-types-lang-aee5d90a2397e68a753ab05e20566d0a23604931.tar.gz
ts-types-lang-aee5d90a2397e68a753ab05e20566d0a23604931.zip
chore: prettier
Diffstat (limited to '')
-rw-r--r--src/util.ts7
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
}
-