Merge pull request #31 from maneetoo/master
Some checks are pending
Deploy / Build & Deploy (push) Waiting to run

Fixed Type Annotation for Client.Connect
This commit is contained in:
EternityDev 2026-05-05 20:16:36 +07:00 committed by GitHub
commit a27067c8df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.`)