Skip to content

Commit

Permalink
style: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
engina committed Apr 8, 2024
1 parent bf75132 commit 4eddf36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cache-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function createProxy<T extends object>(
opts: CacheProxyOpts,
proxyCache: ProxyCache<T>,
wrapperCache: Record<string, any>,
path = ""
path = "",
): T {
if (proxyCache[path]) {
return proxyCache[path];
Expand Down Expand Up @@ -63,7 +63,7 @@ function createProxy<T extends object>(
opts,
proxyCache,
wrapperCache,
currentPath
currentPath,
);
},
});
Expand All @@ -73,7 +73,7 @@ function createProxy<T extends object>(

export function cacheProxy<T extends object>(
api: T,
opts: CacheProxyOpts = {}
opts: CacheProxyOpts = {},
): T {
const { cacheStore = new FileCacheStore() } = opts;
return createProxy(api, cacheStore, opts, {}, {});
Expand Down

0 comments on commit 4eddf36

Please sign in to comment.