1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-03 00:33:22 +03:00

Update code_style.md

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
czeidler
2021-01-26 21:23:11 +13:00
committed by GitHub
parent 87f752dfa1
commit 662d89659f

View File

@@ -161,7 +161,7 @@ ECMAScript
TypeScript
----------
- 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.
- Use full type definitions for function parameters and return values.
- Avoid `any` types and `any` casts