Skip to content

Commit

Permalink
Merge pull request #116 from Validark/Remotefunction-update
Browse files Browse the repository at this point in the history
RemoteFunction: change any -> unknown
  • Loading branch information
osyrisrblx committed Aug 6, 2019
2 parents fe044e4 + 77d8e8b commit 5c080b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/customDefinitions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,9 +577,9 @@ interface RemoteEvent extends Instance {

interface RemoteFunction extends Instance {
OnClientInvoke: (...arguments: Array<any>) => void;
OnServerInvoke: (player: Player, ...arguments: Array<any>) => void;
OnServerInvoke: (player: Player, ...arguments: Array<unknown>) => void;
InvokeClient(player: Player, ...arguments: Array<any>): unknown;
InvokeServer<R = unknown>(...arguments: Array<any>): R;
InvokeServer<R = unknown>(...arguments: Array<unknown>): R;
}

interface Pose extends Instance {
Expand Down

0 comments on commit 5c080b9

Please sign in to comment.