TypeScript Code Formatting
TypeScript formatting extends JavaScript formatting with type annotation handling. Processes: type declarations (interface, type, enum), type annotations (: string), generics (<T>), decorators (@decorator), namespaces and other TS-specific syntax. Formatting rules follow TypeScript official style guide and community best practices (Prettier, TSLint configurations).