diff --git a/util/assertions.ts b/util/assertions.ts index 0078eb5..60d0a53 100644 --- a/util/assertions.ts +++ b/util/assertions.ts @@ -1,4 +1,4 @@ -export function VERIFY(condition: boolean, message?: string): asserts condition is true { +export function VERIFY(condition: boolean, message?: string): asserts condition { if (!condition) throw new Error(`VERIFY: ${message ?? 'Condition was not met.'}`); }