forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB4e0a329Burak Boduroğlu2 months ago537 commits

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