1
0
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:
Thomas (DJ1TJOO) 2022-01-16 10:41:09 +01:00 committed by GitHub
parent e4b8071c2f
commit 592b304147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -138,7 +138,7 @@ export const types = {
/**
* A full schema declaration
* @typedef {Object.<string, BaseDataType>} Schema
* @typedef {Object.<string, BaseDataType> | object} Schema
*/
const globalSchemaCache = {};