aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/ClientApp/src')
-rw-r--r--Timeline/ClientApp/src/app/http/mock/timeline.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/Timeline/ClientApp/src/app/http/mock/timeline.ts b/Timeline/ClientApp/src/app/http/mock/timeline.ts
index 0330b303..27addd61 100644
--- a/Timeline/ClientApp/src/app/http/mock/timeline.ts
+++ b/Timeline/ClientApp/src/app/http/mock/timeline.ts
@@ -49,7 +49,9 @@ function getTimelinePropertyValue<T>(
name: string,
property: TimelinePropertyKey
): Promise<T> {
- return mockStorage.getItem<T>(getTimelinePropertyKey(name, property));
+ return mockStorage.getItem<T>(
+ getTimelinePropertyKey(name, property)
+ ) as Promise<T>;
}
function setTimelinePropertyValue<T>(
@@ -187,7 +189,7 @@ function getTimelinePostPropertyValue<T>(
): Promise<T> {
return mockStorage.getItem<T>(
getTimelinePostPropertyKey(timelineName, id, propertyKey)
- );
+ ) as Promise<T>;
}
function setTimelinePostPropertyValue<T>(