Enable Biome rules 5

This commit is contained in:
Kalle
2026-09-06 15:03:09 +03:00
parent 71fb91935c
commit 16bbb4252b
198 changed files with 225 additions and 204 deletions

View File

@@ -1,9 +1,6 @@
// adapted from https://github.com/alexreardon/tiny-invariant, changed to show errors in production as well
export default function invariant(
condition: any,
message?: string,
): asserts condition {
export function invariant(condition: any, message?: string): asserts condition {
if (condition) return;
const addition = message ? `: ${message}` : "";