chore(): run linter, after fixing config
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user