Skip to content

Commit bdda04c

Browse files
committed
chore(types): update BodyLengthCalculator to return number
1 parent a4cc40a commit bdda04c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/types/src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface Provider<T> {
5151
* the size of the file.
5252
*/
5353
export interface BodyLengthCalculator {
54-
(body: any): number | undefined;
54+
(body: any): number;
5555
}
5656

5757
/**

0 commit comments

Comments
 (0)