mirror of
https://github.com/MincoMK/computercraft-ts.git
synced 2025-12-10 06:23:19 +00:00
fix: RednetData
This commit is contained in:
@@ -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
2
types/index.d.ts
vendored
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user