chore(): run linter, after fixing config

This commit is contained in:
tiagosiebler
2024-11-08 13:11:24 +00:00
parent 7023b0aa75
commit 9f20a00ecc
14 changed files with 76 additions and 50 deletions

View File

@@ -2,7 +2,12 @@
* Use type guards to narrow down types with minimal efforts.
*/
import { WSAccountOrderEventV5, WSExecutionEventV5, WSOrderbookEventV5, WSPositionEventV5 } from '../types/websocket.events';
import {
WSAccountOrderEventV5,
WSExecutionEventV5,
WSOrderbookEventV5,
WSPositionEventV5,
} from '../types/websocket.events';
/**
* Type guard to detect a V5 orderbook event (delta & snapshots)
@@ -30,7 +35,7 @@ export function isWsOrderbookEventV5(
/**
* Type guard to detect a V5 position event.
*
*
* @param event
* @returns
*/
@@ -86,4 +91,4 @@ export function isWsExecutionEventV5(
}
return event['topic'] === 'execution';
}
}