fix: RednetData

This commit is contained in:
2025-06-04 04:06:46 +09:00
parent 2f674ff43e
commit 398c20e6dd
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "computercraft-ts", "name": "computercraft-ts",
"version": "1.0.3", "version": "1.0.4",
"description": "", "description": "",
"license": "ISC", "license": "ISC",
"author": "", "author": "",

2
types/index.d.ts vendored
View File

@@ -183,7 +183,7 @@ declare global {
const CHANNEL_REPEAT = 65533; const CHANNEL_REPEAT = 65533;
const MAX_ID_CHANNEL = 65500; const MAX_ID_CHANNEL = 65500;
type RednetData = number | boolean | string | Object; type RednetData = number | boolean | string | any;
/** /**
* Opens a modem with the given peripheral name, allowing it to send and receive messages over rednet. * Opens a modem with the given peripheral name, allowing it to send and receive messages over rednet.