Useful Links
Computer Science
Programming
By Language
TypeScript Programming Language
1. Introduction to TypeScript
2. Development Environment Setup
3. Basic Types and Type System
4. Arrays and Collections
5. Enums and Literal Types
6. Functions and Callable Types
7. Object Types and Interfaces
8. Classes and Object-Oriented Programming
9. Advanced Type Features
10. Generics
11. Utility Types
12. Modules and Module System
13. Decorators and Metadata
14. Type Checking and Compiler Options
15. Working with JavaScript Libraries
16. Framework Integration
17. Build Tools and Workflow
18. Code Quality and Best Practices
19. Debugging and Troubleshooting
20. Advanced Patterns and Techniques
21. Migration and Adoption Strategies
Enums and Literal Types
Numeric Enums
Basic Enum Declaration
Auto-incrementing Values
Custom Numeric Values
Reverse Mapping
String Enums
String Value Assignment
Benefits over Numeric Enums
No Reverse Mapping
Heterogeneous Enums
Mixed Value Types
Use Cases and Limitations
Computed and Constant Members
Constant Enum Expressions
Computed Enum Members
Initialization Rules
Const Enums
Compile-time Inlining
Performance Benefits
Limitations
Literal Types
String Literals
Numeric Literals
Boolean Literals
Template Literal Types
Previous
4. Arrays and Collections
Go to top
Next
6. Functions and Callable Types