player infos

This commit is contained in:
Ronja Spiegelberg 2024-04-13 18:06:44 +02:00
commit aba4dcb570

View file

@ -1,6 +1,8 @@
export type PlayerResponse = {
readonly name: string;
readonly id: string;
readonly kills: number;
readonly deaths: number;
};
export async function fetchTyped<T>({ url, method }: { url: URL; method: string; }) {