Standards
When to use PascalCase
Best Practices
Avoid using the "any" type
Avoid using Non-primitive types
Type Inference
Examples
Use enums
Use Interfaces
Extend Interfaces
Like JavaScript in TypeScript we use camelCase most times for variables. However for "interface", "type" and "enum" we use PascalCase
Please Login or Register to comment
Please Login or Register to comment