diff options
| author | Fuwn <[email protected]> | 2023-09-26 17:50:07 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-09-26 17:50:07 -0700 |
| commit | d1f09297f5cea2543719880d470140af57caeb7d (patch) | |
| tree | 3a60c34e9aaeaf561933e7723b4c58e885cf17d4 | |
| parent | fix(anime): remove unresolved prop (diff) | |
| download | due.moe-d1f09297f5cea2543719880d470140af57caeb7d.tar.xz due.moe-d1f09297f5cea2543719880d470140af57caeb7d.zip | |
format(history): add types
| -rw-r--r-- | src/lib/Tools/ActivityHistory.svelte | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/Tools/ActivityHistory.svelte b/src/lib/Tools/ActivityHistory.svelte index b2ad21d0..58ba4173 100644 --- a/src/lib/Tools/ActivityHistory.svelte +++ b/src/lib/Tools/ActivityHistory.svelte @@ -2,9 +2,12 @@ import { activityHistory, type ActivityHistoryEntry } from '$lib/AniList/activity.js'; import { onMount } from 'svelte'; import userIdentity from '../../stores/userIdentity.js'; - import { userIdentity as getUserIdentity } from '$lib/AniList/identity'; + import { + userIdentity as getUserIdentity, + type AniListAuthorisation + } from '$lib/AniList/identity'; - export let user: any; + export let user: AniListAuthorisation; let activityHistoryData: Promise<ActivityHistoryEntry[]>; let currentUserIdentity = { name: '', id: -1 }; |