chore(): fix and run linter, bump node version to LTS
This commit is contained in:
@@ -78,7 +78,7 @@ export function isWsFuturesPositionsSnapshotEvent(
|
||||
*/
|
||||
export function assertMarginType(marginType: string): marginType is MarginType {
|
||||
if (marginType !== 'isolated' && marginType !== 'crossed') {
|
||||
throw new Error(`MarginType should be one of: crossed | isolated`);
|
||||
throw new Error('MarginType should be one of: crossed | isolated');
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user