mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Fixed typings
This commit is contained in:
parent
9807e47f49
commit
df73313663
@ -15,7 +15,7 @@ export class BaseItem extends BasicSerializableObject {
|
||||
return "base_item";
|
||||
}
|
||||
|
||||
/** @returns {object} */
|
||||
/** @returns {import("../savegame/serialization").Schema} */
|
||||
static getSchema() {
|
||||
return {};
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ export class BasicSerializableObject {
|
||||
return schema;
|
||||
}
|
||||
|
||||
/** @returns {object} */
|
||||
/** @returns {object | string | number} */
|
||||
serialize() {
|
||||
return serializeSchema(
|
||||
this,
|
||||
|
Loading…
Reference in New Issue
Block a user