-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
As https://doc.qt.io/qt-6/qml-codingconventions.html#javascript-code says, it "is recommended to add type annotations to your function in order to more easily reason about and refactor your application since both parameter and return types are immediately visible from the function signature".
It also helps the qmlsc to compile more JS code into C++.