From 9612261f4b47ff17184ff89cd45386a2d97e6074 Mon Sep 17 00:00:00 2001 From: mincomk Date: Wed, 4 Jun 2025 13:11:16 +0900 Subject: [PATCH] fix: multi return --- package.json | 2 +- types/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d94dcfb..644d23c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "computercraft-ts", - "version": "1.0.10", + "version": "1.0.11", "description": "", "license": "ISC", "author": "", diff --git a/types/index.d.ts b/types/index.d.ts index ec2b31e..c843f8a 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -241,7 +241,7 @@ declare global { function receive( protocolFilter?: string, timeout?: number, - ): LuaMultiReturn<[number, RednetData, string | null]> | null; + ): LuaMultiReturn<[number, RednetData, string | null]>; /** * Register the system as "hosting" the desired protocol under the specified name. If a rednet lookup is performed for that protocol (and maybe name) on the same network, the registered system will automatically respond via a background process, hence providing the system performing the lookup with its ID number.