mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Fix type signature
This commit is contained in:
parent
9444c84d73
commit
a38147973a
1 changed files with 1 additions and 1 deletions
|
|
@ -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?`")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue