We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
В уроке https://code-basics.com/ru/languages/typescript/lessons/anonymous-functions в решении используется указание типа массиваnumber[], но массивы объясняются только в следующем уроке
number[]
The text was updated successfully, but these errors were encountered:
Переписал с использованием анонимной функции (у нас же урок про них) + просто убрал тип возвращаемого значения из функции.
Получилось по аналогии с примером из теории за тем исключением, что в теории используется .map(), а в решении учителя - .filter()
.map()
.filter()
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
В уроке https://code-basics.com/ru/languages/typescript/lessons/anonymous-functions в решении используется указание типа массива
number[]
, но массивы объясняются только в следующем урокеThe text was updated successfully, but these errors were encountered: