Skip to content

Commit e44fa6a

Browse files
committed
Better typing.
1 parent 7de0cc5 commit e44fa6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function runHandler(
8080
const body =
8181
typeof this.sentBody === "undefined"
8282
? toSend
83-
: this.sentBody + ((toSend as string) || "");
83+
: this.sentBody + String(toSend || "");
8484
this.end(body);
8585
}
8686

0 commit comments

Comments
 (0)