From 96f151c3901243a12efafc17c28f85d94b7d7c03 Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Sun, 10 Apr 2022 18:54:57 -0500
Subject: Add leaderboard typings

---
 src/lib/minecraft/Username.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/lib/minecraft/Username.svelte')

diff --git a/src/lib/minecraft/Username.svelte b/src/lib/minecraft/Username.svelte
index 34e2155..f6f9911 100644
--- a/src/lib/minecraft/Username.svelte
+++ b/src/lib/minecraft/Username.svelte
@@ -1,12 +1,12 @@
 <script lang="ts">
-	import type { CleanPlayer, CleanBasicMember } from '$lib/APITypes'
+	import type { CleanPlayer, CleanBasicMember, LeaderboardBasicPlayer } from '$lib/APITypes'
 
 	import ConditionalLink from '$lib/ConditionalLink.svelte'
 	import Head2d from '$lib/minecraft/heads/Head2d.svelte'
 	import Head3d from '$lib/minecraft/heads/Head3d.svelte'
 	import { formattingCodeToHtml } from '../utils'
 
-	export let player: CleanPlayer | CleanBasicMember
+	export let player: CleanPlayer | CleanBasicMember | LeaderboardBasicPlayer
 	export let headType: null | '3d' | '2d' = null
 	export let hyperlinkToProfile: boolean | string = false
 	export let prefix = false
-- 
cgit 

