Add reference to TypeScript in the comment on flow annotations

Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>
pull/21833/head
Clemens Zeidler 2021-01-22 22:22:33 +13:00
parent 3eae714269
commit 87f752dfa1
1 changed files with 1 additions and 1 deletions

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