Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Commit

Permalink
Makes deserialize publicly available.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscox authored Feb 15, 2017
1 parent 715812d commit ded22f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/LocalStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,11 @@ export class LocalStorage {

/**
* Returns an initialized Variable based on the data type.
* @private
* @static
* @param {ISerializableData} data The serialized data.
* @return {Variable}
*/
private static deserialize(data: ISerializableData): Variable {
static deserialize(data: ISerializableData): Variable {
switch (data.dataType) {
case DataType.BOOLEAN:
return BooleanVariable.deserialize(data);
Expand Down

0 comments on commit ded22f9

Please sign in to comment.