初始化

This commit is contained in:
2025-07-30 13:39:32 +08:00
commit d1f2452b28
253 changed files with 32087 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import error from './error';
export default function assert(condition: boolean, message: string): void {
if (!condition) {
error(message);
throw new Error(message);
}
}