mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-13 18:21:51 +00:00
Fixed typescript type errors (#1335)
This commit is contained in:
parent
e4b8071c2f
commit
592b304147
@ -433,7 +433,7 @@ export class MapChunk {
|
||||
* Sets the chunks contents
|
||||
* @param {number} tileX
|
||||
* @param {number} tileY
|
||||
* @param {Entity=} contents
|
||||
* @param {Entity} contents
|
||||
* @param {Layer} layer
|
||||
*/
|
||||
setLayerContentFromWorldCords(tileX, tileY, contents, layer) {
|
||||
|
||||
@ -138,7 +138,7 @@ export const types = {
|
||||
|
||||
/**
|
||||
* A full schema declaration
|
||||
* @typedef {Object.<string, BaseDataType>} Schema
|
||||
* @typedef {Object.<string, BaseDataType> | object} Schema
|
||||
*/
|
||||
|
||||
const globalSchemaCache = {};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user