From 17dbc08c69691e65c27b207598a277e9d7443514 Mon Sep 17 00:00:00 2001 From: xion Date: Fri, 21 Mar 2025 01:31:47 +0800 Subject: [PATCH] fix types --- src/query.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/query.ts b/src/query.ts index 34bdf9e..c4accef 100644 --- a/src/query.ts +++ b/src/query.ts @@ -18,13 +18,13 @@ export type QueryOpts = { headers?: Record; timeout?: number; }; -type Data = { +export type Data = { path?: string; key?: string; payload?: Record; [key: string]: any; }; -type Result = { +export type Result = { code: number; data?: S; message?: string;