I define an object like this:
const obj = {
func() {}
}
// Then I need to define some static props for the methods of this obj:
obj.func.prop1 = 1000;
obj.func.prop2 = 'some string';
obj.func.prop3 = () => {};
So, how to define the types for obj's methods?