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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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