fix
This commit is contained in:
parent
4426ff6aa2
commit
8032878594
@ -35,8 +35,8 @@ export abstract class Persistent implements Assignable, Serializable {
|
|||||||
|
|
||||||
public serialize (formatted = false): string {
|
public serialize (formatted = false): string {
|
||||||
if (formatted)
|
if (formatted)
|
||||||
return JSON.stringify (this._data);
|
return JSON.stringify (this._data, null, 2);
|
||||||
return JSON.stringify (this._data, null, 2);
|
return JSON.stringify (this._data);
|
||||||
}
|
}
|
||||||
|
|
||||||
private check_type (value: unknown, prop: PersistentTypeString): boolean {
|
private check_type (value: unknown, prop: PersistentTypeString): boolean {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user