Skip to content
Snippets Groups Projects
Commit 7a36033c authored by Jacopo Gasparetto's avatar Jacopo Gasparetto
Browse files

Make factory method fromStorageString static

parent 597ac045
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ export class User {
});
}
fromStorageString(storageString: string): User {
static fromStorageString(storageString: string): User {
return new User(JSON.parse(storageString));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment