Add reference to TypeScript in the comment on flow annotations

Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>
This commit is contained in:
Clemens Zeidler 2021-01-22 22:22:33 +13:00
parent 3eae714269
commit 87f752dfa1

View File

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