Here is the object, which is returned from a method in a class:
public dbParameters() // HERE
{
return {
"values": this.valuesForDb,
"keys": this.keysForDb,
"numbers": this.numberOfValues,
}
}
Could you please advise how to define the type of the function return, in this case ? Or maybe this is not the proper way to do it and I should use another type instead of the object literal ?