I am trying to access property of an object inside the same object with "this" keyword.
Example
const obj = {
a: "1",
b: "2",
c: this.b,
};
But when I do so, TypeScript gives the error:
Property "" does not exist on type never.
How do I resolve this?