Skip to content

Commit e4c8766

Browse files
committed
fix: address type issue with NodeJS.Timer
this fix puts a flexible return time that works in both in browser and node environments
1 parent abc55e4 commit e4c8766

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/AMTRedirector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class AMTRedirector implements ICommunicator {
4848
protocol: Protocol
4949
amtAccumulator: string
5050
amtSequence: number
51-
amtKeepAliveTimer: NodeJS.Timeout | null
51+
amtKeepAliveTimer: ReturnType<typeof setInterval> | null
5252

5353
fileReader: FileReader
5454
fileReaderInUse: boolean

0 commit comments

Comments
 (0)