mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 12:45:11 +08:00
Add reference to TypeScript in the comment on flow annotations
Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>
This commit is contained in:
parent
3eae714269
commit
87f752dfa1
@ -156,7 +156,7 @@ ECMAScript
|
||||
- Be careful mixing arrow functions and regular functions, eg. if one function in a promise chain is an
|
||||
arrow function, they probably all should be.
|
||||
- Apart from that, newer ES features should be used whenever the author deems them to be appropriate.
|
||||
- Flow annotations are welcome and encouraged.
|
||||
- While flow annotations are welcome and encouraged consider to migrate the JS file to TypeScript (see next section).
|
||||
|
||||
TypeScript
|
||||
----------
|
||||
|
Loading…
Reference in New Issue
Block a user