Skip to content

Commit 7c6284f

Browse files
authored
[core-amqp][test] add explicit type for clearTimeout parameter (Azure#21892)
The compiler is having problem figuring it out in latest rush update --full run.
1 parent b697907 commit 7c6284f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/core/core-amqp/test/requestResponse.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ describe("RequestResponseLink", function () {
604604

605605
beforeEach(() => {
606606
clearTimeoutCalledCount = 0;
607-
_global.clearTimeout = (tid) => {
607+
_global.clearTimeout = (tid: NodeJS.Timeout) => {
608608
clearTimeoutCalledCount++;
609609
return originalClearTimeout(tid);
610610
};

0 commit comments

Comments
 (0)