Cannot find name 'Set'. Do you need to change your target library? Try changing the `lib` compiler option to 'es2015' or later

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

Key Words for FKN + antitotal forum (CS VSU):