When I format TypeScript files using Prettier, it consistently removes the brackets as shown in the following scenario:
private requestFilterHooks: Dict<(...args: any[]) => (Promise<void> | void)> = {};
This code snippet will be converted to:
private requestFilterHooks: Dict<(...args: any[]) => Promise<void> | void> = {};