mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 01:05:42 +03:00
Update code_style.md
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
parent
87f752dfa1
commit
662d89659f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue