I am getting the lint error:
don't use object as a type
When I use object as a type, example follows:
export const myFunc = (obj: object): string => {
return obj.toString()
}
Any idea what type I should give to an object with unknown properties?
If it helps the object in question is NOT an array (which I know is strictly an object in JS)
Thanks in advance