feat: toJSON impl

This commit is contained in:
cha0s 2019-03-25 20:50:11 -05:00
parent d02b5ccced
commit 77042bfa8c

View File

@ -64,7 +64,10 @@ class TilesBase {
}
toJSON() {
return {
size: [...this.size],
data: [...this.data],
};
}
}