forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB7122d71Burak Boduroğlu4 months ago419 commits

getUserById.ts6 lines, 208 bytesHistoryRawDownload
1import { client } from "../client";
2import type { User } from "../client";
3
4export function getUserById(id: string, signal?: AbortSignal): Promise<User> {
5 return client<User>(`/users/${id}`, { signal });
6}