formatting fix

This commit is contained in:
Kyle Spearrin 2019-02-07 15:43:11 -05:00
parent cdbe08ae7e
commit dd46d5ecdd
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ export function sequentialize(cacheKey: (args: any[]) => string) {
};
return {
value: function (...args: any[]) {
value: function(...args: any[]) {
const cache = getCache(this);
const argsCacheKey = cacheKey(args);
let response = cache.get(argsCacheKey);

View File

@ -21,7 +21,7 @@ export function throttle(limit: number, throttleKey: (args: any[]) => string) {
};
return {
value: function (...args: any[]) {
value: function(...args: any[]) {
const throttles = getThrottles(this);
const argsThrottleKey = throttleKey(args);
let queue = throttles.get(argsThrottleKey);