mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-14 02:31: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
|
* Sets the chunks contents
|
||||||
* @param {number} tileX
|
* @param {number} tileX
|
||||||
* @param {number} tileY
|
* @param {number} tileY
|
||||||
* @param {Entity=} contents
|
* @param {Entity} contents
|
||||||
* @param {Layer} layer
|
* @param {Layer} layer
|
||||||
*/
|
*/
|
||||||
setLayerContentFromWorldCords(tileX, tileY, contents, layer) {
|
setLayerContentFromWorldCords(tileX, tileY, contents, layer) {
|
||||||
|
|||||||
@ -138,7 +138,7 @@ export const types = {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A full schema declaration
|
* A full schema declaration
|
||||||
* @typedef {Object.<string, BaseDataType>} Schema
|
* @typedef {Object.<string, BaseDataType> | object} Schema
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const globalSchemaCache = {};
|
const globalSchemaCache = {};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user