mirror of
https://github.com/MincoMK/computercraft-ts.git
synced 2025-12-10 06:23:19 +00:00
feat: iter
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "computercraft-ts",
|
"name": "computercraft-ts",
|
||||||
"version": "1.0.14",
|
"version": "1.0.15",
|
||||||
"description": "",
|
"description": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|||||||
5
types/index.d.ts
vendored
5
types/index.d.ts
vendored
@@ -121,7 +121,10 @@ declare global {
|
|||||||
* @returns The line iterator.
|
* @returns The line iterator.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function lines(filename?: string, ...args: any[]): () => string | null;
|
function lines(
|
||||||
|
filename?: string,
|
||||||
|
...args: any[]
|
||||||
|
): LuaIterable<string | null>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Open a file with the given mode, either returning a new file handle or nil, plus an error message.
|
* Open a file with the given mode, either returning a new file handle or nil, plus an error message.
|
||||||
|
|||||||
Reference in New Issue
Block a user