Whenever I define a type in a TypeScript file (.ts) on VS Code, I notice that there is no option to collapse the definition. Here's an example:
export type Test = {
someValue: string,
someOtherValue: string,
yetAnotherValue: string
};
I am unable to collapse this definition using the left margin in VS Code. Is there a specific setting that needs to be configured to enable this feature? Could an extension like prettier help with adding this functionality? So far, I haven't been able to find a solution, so my current workaround involves putting a region around it.