mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: use armor model
This commit is contained in:
1 parent
3846cbab4a
commit
69f3a95379
4 files changed
+93
-36
No files matched your search
@@ -77,7 +77,9 @@ export class Varuna<Type, Arguments = void> {
|
||||
}
|
||||
|
||||
private assertInitialized() {
|
||||
if (!this.initialized) throw new Error("State used before initialization");
|
||||
if (!this.initialized) {
|
||||
throw new Error("Varuna store used before initialization");
|
||||
}
|
||||
}
|
||||
|
||||
get state() {
|
||||
|
||||
Reference in new issue
Block a user