mirror of
https://github.com/imezx/Warp.git
synced 2026-05-13 14:24:13 +00:00
Fixed Type Annotation for Client.Connect
This commit is contained in:
parent
a21a1e964b
commit
a6456af3e3
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ end
|
|||
--@remoteName string
|
||||
--@fn function
|
||||
-- Connect to an event to receive incoming data from the server.
|
||||
Client.Connect = function(remoteName: string, fn: (Player, ...any?) -> ...any?): Connection
|
||||
Client.Connect = function(remoteName: string, fn: (...any?) -> ...any?): Connection
|
||||
local id = Replication.get_id[remoteName]
|
||||
if not id then
|
||||
warn(`[Warp]: ".Connect"::"{remoteName}" does not exist, likely its not registered on the server yet.`)
|
||||
|
|
|
|||
Loading…
Reference in a new issue