xxxxxxxxxx
// Optional type parameters
private logData<T, S = {}>(operation: string, responseData: T, requestData?: S) {
// your implementation here
}
xxxxxxxxxx
It's understandable if you want to play minecraft rather than practicing coding. Perhaps you can get into Java Bukkit Plugins!