Skip to content

Commit 8b2257d

Browse files
authored
type-fix: Make body optional ...
... in the INetworkRequestResponse interface. This will help merge cleanly with LR.IRequest and fixes #5.
2 parents de43c2a + fe2febb commit 8b2257d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import deparam from 'deparam';
22

33
interface INetworkRequestResponse {
4-
body: any; // POJO or a JSON stringify equalivant
4+
body?: any; // POJO or a JSON stringify equalivant
55
method: string;
66
headers: object;
77
}

0 commit comments

Comments
 (0)