mirror of
https://github.com/MincoMK/computercraft-ts.git
synced 2025-12-10 06:23:19 +00:00
fix: peripheral.find
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "computercraft-ts",
|
"name": "computercraft-ts",
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"description": "",
|
"description": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|||||||
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
@@ -1104,7 +1104,7 @@ declare global {
|
|||||||
*/
|
*/
|
||||||
function find(
|
function find(
|
||||||
peripheralType: string,
|
peripheralType: string,
|
||||||
filter?: (name: string, wrapped?: any) => boolean,
|
filter?: (name: string, wrapped?: any) => boolean | void,
|
||||||
): [string, any][];
|
): [string, any][];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user