fix lint
This commit is contained in:
parent
ea01f26967
commit
51f0cb7c1b
|
@ -2,7 +2,7 @@ import {PUBLIC_KEY_LENGTH, SIGNATURE_LENGTH} from "../constants";
|
||||||
|
|
||||||
export function assert(condition: unknown, message = "Assertion failed"): asserts condition {
|
export function assert(condition: unknown, message = "Assertion failed"): asserts condition {
|
||||||
if (!condition) {
|
if (!condition) {
|
||||||
throw new Error(message)
|
throw new Error(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue