From a38147973ab4e55d381465684612d32b759a6e31 Mon Sep 17 00:00:00 2001 From: boatbomber Date: Tue, 13 Feb 2024 01:11:20 -0800 Subject: [PATCH] Fix type signature --- plugin/src/HeadlessAPI.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/HeadlessAPI.lua b/plugin/src/HeadlessAPI.lua index adc9cee0..dddcb772 100644 --- a/plugin/src/HeadlessAPI.lua +++ b/plugin/src/HeadlessAPI.lua @@ -396,7 +396,7 @@ function API.new(app) function Rojo:Notify( msg: string, timeout: number?, - actions: { [string]: { text: string, style: string, layoutOrder: number, onClick: (any) -> () } }? + actions: { [string]: { text: string, style: string, layoutOrder: number, onClick: () -> () } }? ): () -> () assert(type(msg) == "string", "Message must be type `string`") assert(type(timeout) == "number" or timeout == nil, "Timeout must be type `number?`")