Аргумент типа '{селектор: строка; шаблон: строка; директивы: - PullRequest
0 голосов
/ 04 ноября 2018

Я изучаю Angular2, я столкнулся с проблемой, такой же, как этот парень: Угловой 2 | Директивы Аргумент типа '{}' нельзя присвоить

Я пошел по пути и столкнулся с другой проблемой, было 10 ошибок:

Severity    Code    Description Project File    Line    Suppression State
Error   TS1219  (TS) Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.    CrankBank   C:\Demos\CrankBank\ClientApp\src\app\movies\movie-list.component.ts 8   Active
Error   TS2304  (TS) Cannot find name 'Iterable'.   CrankBank   C:\Demos\CrankBank\ClientApp\node_modules\@angular\core\src\change_detection\differs\default_iterable_differ.d.ts   12  Active
Error   TS2583  (TS) Cannot find name 'Map'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.  CrankBank   C:\Demos\CrankBank\ClientApp\node_modules\@angular\core\src\change_detection\differs\default_keyvalue_differ.d.ts   24  Active
Error   TS2583  (TS) Cannot find name 'Map'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.  CrankBank   C:\Demos\CrankBank\ClientApp\node_modules\@angular\core\src\change_detection\differs\default_keyvalue_differ.d.ts   32  Active
Error   TS2304  (TS) Cannot find name 'Iterable'.   CrankBank   C:\Demos\CrankBank\ClientApp\node_modules\@angular\core\src\change_detection\differs\iterable_differs.d.ts  14  Active
Error   TS2583  (TS) Cannot find name 'Map'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.  CrankBank   C:\Demos\CrankBank\ClientApp\node_modules\@angular\core\src\change_detection\differs\keyvalue_differs.d.ts  22  Active
Error   TS2583  (TS) Cannot find name 'Map'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.  CrankBank   C:\Demos\CrankBank\ClientApp\node_modules\@angular\core\src\di\reflective_provider.d.ts 87  Active
Error   TS2583  (TS) Cannot find name 'Map'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.  CrankBank   C:\Demos\CrankBank\ClientApp\node_modules\@angular\core\src\di\reflective_provider.d.ts 87  Active
Error   TS2585  (TS) 'Promise' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.  CrankBank   C:\Demos\CrankBank\ClientApp\node_modules\rxjs\Observable.d.ts  58  Active
Error   TS2585  (TS) 'Promise' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.  CrankBank   C:\Demos\CrankBank\ClientApp\node_modules\rxjs\Observable.d.ts  73  Active

Я учу его изучению ionic 3 для разработки мобильных приложений, если есть более подходящие кадры для работы, пожалуйста, дайте свои советы.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...