Hey! I'm using a symbol [HEADERS] as a key for an anonymous type:
ok<T, Instance extends this>(
body: T,
etag?: boolean
): {
__response: T
__status: GetStatus<Instance, 200>
[HEADERS]: ReturnType<Instance['append']>
}
Now, I'm using ts-morph, and I want to get the [HEADERS] property specifically. But I can't do it, the only way to get a property, is using the getProperty(name) and it accepts only a string. Is there any way to get a property by a symbol, please?
Thank you!