You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-04 11:51:45 +03:00
Update code_style.md
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
@@ -161,7 +161,7 @@ ECMAScript
|
|||||||
TypeScript
|
TypeScript
|
||||||
----------
|
----------
|
||||||
- TypeScript is preferred over the use of JavaScript
|
- TypeScript is preferred over the use of JavaScript
|
||||||
- Its desirable to convert existing JavaScript files to TypeScript. TypeScript conversions should be done in small
|
- It's desirable to convert existing JavaScript files to TypeScript. TypeScript conversions should be done in small
|
||||||
chunks without functional changes to ease the review process.
|
chunks without functional changes to ease the review process.
|
||||||
- Use full type definitions for function parameters and return values.
|
- Use full type definitions for function parameters and return values.
|
||||||
- Avoid `any` types and `any` casts
|
- Avoid `any` types and `any` casts
|
||||||
|
|||||||
Reference in New Issue
Block a user