feat: toJSON impl
This commit is contained in:
parent
d02b5ccced
commit
77042bfa8c
|
@ -64,7 +64,10 @@ class TilesBase {
|
|||
}
|
||||
|
||||
toJSON() {
|
||||
|
||||
return {
|
||||
size: [...this.size],
|
||||
data: [...this.data],
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user