Skip to content

Commit

Permalink
chore: type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nytamin committed Dec 18, 2023
1 parent 99b8add commit 29d06e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/connector/src/connection/NCSServerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class NCSServerConnection extends EventEmitter implements INCSServerConne

private _emittedConnected = false

private _heartBeatsTimer?: NodeJS.Timer
private _heartBeatsTimer?: NodeJS.Timeout
private _heartBeatsInterval: number

constructor(
Expand Down
4 changes: 2 additions & 2 deletions packages/connector/src/connection/mosSocketClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class MosSocketClient extends EventEmitter {
private _connected = false
private _lastConnectionAttempt = 0
private _reconnectAttempt = 0
private _connectionAttemptTimer: NodeJS.Timer | undefined
private _connectionAttemptTimer: NodeJS.Timeout | undefined

private _commandTimeout: number

Expand All @@ -40,7 +40,7 @@ export class MosSocketClient extends EventEmitter {
// private _readyToSendMessage: boolean = true
private _timedOutCommands: { [id: string]: number } = {}

private processQueueTimeout?: NodeJS.Timer
private processQueueTimeout?: NodeJS.Timeout
// private _startingUp: boolean = true
private _disposed = false
private messageParser: MosMessageParser
Expand Down

0 comments on commit 29d06e9

Please sign in to comment.