typescript - TypeScript Performance Optimization Guide
Optimize TypeScript performance, fix type errors, and configure compilation settings
Tags
Updated: 2026-06-15Capabilities
Typical Inputs
Typical Outputs
What this skill does
- optimize performance
- fix type errors
- configure tsconfig.json
- improve async patterns
- organize modules
- manage imports
- review code performance
- add explicit types
- avoid deep generics
- extract conditionals
- simplify mapped types
- exclude files properly
- enable incremental builds
- skip library checks
- avoid loop awaits
- use Promise.all
- avoid barrel imports
- avoid circular dependencies
- use dynamic imports
- enable strict checks
Inputs
- TypeScript files
- tsconfig.json
- type definitions
- error messages
Outputs
- refactored code
- performance recommendations
- fixed type errors
- configuration changes
Requirements
- TypeScript
