const obj = { get prop1(): string { return ""; }, get prop2() { return 5; } };