Skip to content

Commit 68fc864

Browse files
committed
fix types
1 parent 71693c3 commit 68fc864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/tools/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export interface ToolConfig<P = any, R = any> {
9393
url: string | ((params: P) => string)
9494
method: HttpMethod | ((params: P) => HttpMethod)
9595
headers: (params: P) => Record<string, string>
96-
body?: (params: P) => Record<string, any> | string
96+
body?: (params: P) => Record<string, any> | string | undefined
9797
}
9898

9999
// Post-processing (optional) - allows additional processing after the initial request

0 commit comments

Comments
 (0)