Skip to content

Commit 7c15fbd

Browse files
committed
Tweak return type of accounts-model load
1 parent 4b8b3ae commit 7c15fbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/models/accounts-model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function cached<T>(fn: () => T) {
1010
cachedResult = fn();
1111
valid = true;
1212
}
13-
return cachedResult;
13+
return cachedResult as T;
1414
};
1515

1616
cachedFn.invalidate = () => {

0 commit comments

Comments
 (0)