From cdc05f85a6dc676e8af1227a56f65d6452488d82 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Wed, 7 Feb 2024 22:12:18 +0000 Subject: [feature] Render tags in the link card --- web/lib/api.ts | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'web/lib/api.ts') diff --git a/web/lib/api.ts b/web/lib/api.ts index 2304826b..56686cde 100644 --- a/web/lib/api.ts +++ b/web/lib/api.ts @@ -15,18 +15,6 @@ export type FetchError = { message?: string; }; -async function doRequest( - _path: string, - respSchema: Schema, - _opts: RequestInit | undefined, -): Promise<[z.infer, undefined] | [undefined, FetchError]>; - -async function doRequest<_Schema>( - _path: string, - _respSchema: undefined, - _opts: RequestInit | undefined, -): Promise<[undefined, undefined] | [undefined, FetchError]>; - type InputSchema = T extends ZodTypeAny ? T : undefined; async function doRequest( -- cgit v1.2.3-70-g09d2