We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffd0381 commit 0caa5c4Copy full SHA for 0caa5c4
1 file changed
libs/ngxs/storage/utils/deserialize-by-storage-meta.ts
@@ -35,6 +35,10 @@ export function deserializeByStorageMeta<T>(
35
}
36
37
function versionIsInvalid<T>(meta: StorageMeta<T>): boolean {
38
+ if (!meta) {
39
+ return true;
40
+ }
41
+
42
const version: number = parseFloat(meta.version?.toString() ?? '');
43
44
return (
0 commit comments