Skip to content
New issue

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

Приложение для терминала. Часть 2 #3

Merged
merged 9 commits into from
Aug 19, 2024

Conversation

AdonaiJehosua
Copy link

@AdonaiJehosua AdonaiJehosua commented Aug 16, 2024

@keksobot keksobot changed the title Module2 task1 Приложение для терминала. Часть 2 Aug 16, 2024
description,
images: images.split(','),
previewImage,
goods: goods.split(',').map((good) => OfferGood[good.trim() as 'Breakfast' | 'Air conditioning' | 'Laptop friendly workspace' | 'Baby seat' | 'Washer' | 'Towels' | 'Fridge']),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лучше конечно Union тип вынести в отдельный type и уже использовать его. А то слишком налеплено

const MAX_ADULTS = 10;



Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eslint ошибку по лишнему переносу строки следует убрать

@nikopol-fw nikopol-fw merged commit dfe5228 into htmlacademy-nodejs-api:master Aug 19, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants