Cannot find name 'Set'. Do you need to change your target library? Try changing the `lib` compiler option to 'es2015' or later
Primary tabs
Cannot find name 'Set'. Do you need to change your target library? Try changing the `lib` compiler option to 'es2015' or later.
В ответ на команду:
npx tsc
Решение
В tsconfig.json добавим (в корень объекта конфигурации):
"lib": [ "es2015" ]
- Log in to post comments
- 2184 reads