我正在学习Angular2,遇到的问题与此人面临的问题相同: Angular 2 | Directives Argument of type '{}' is not assignable to
我遵循了这个方法,但遇到另一个问题,有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来开发移动应用程序,如果有更好的框架可以使用,请提供您的建议。