Skip to content

Commit 165b969

Browse files
committed
refactor(result): improve type definition for withoutResponse mode
Use Omit<TComputedResult, "response"> instead of union type to better represent the structure when response is excluded
1 parent 7296a7a commit 165b969

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.changeset/quiet-poets-feel.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@zayne-labs/callapi": patch
3+
---
4+
5+
refactor(result): improve type definition for withoutResponse mode
6+
7+
Use Omit<TComputedResult, "response"> instead of union type to better represent the structure when response is excluded

0 commit comments

Comments
 (0)