export type RemoteFunction<ClientArg,ServerArg> = Instance & {
InvokeServer : (self : any, struct : ServerArg) -> ClientArg;
OnServerInvoke : (player : Player, struct : ServerArg) -> ClientArg;
}
local RemoteFunction: RemoteFunction<any,any>
RemoteFunction.OnServerInvoke() -- <- ide autocompletes to this
RemoteFunction.OnServerInvoke -- <- i want the ide to auto complete up to here