Theo
2015-11-25 22:40:40 UTC
OS: Windows 10 Pro
IDE: Visual Studio 2015 (Community)
So, I'm attempting to run the '5 Minute Quickstart' angular 2 for
typescript demo, as documented at
https://angular.io/docs/ts/latest/quickstart.html, in Visual Studio and am
getting the following error message:
"Error TS2345 Argument of type '{ selector: string; template: string; }'
is not assignable to parameter of type '_ComponentArg'.
Object literal may only specify known properties, and 'template' does not
exist in type '_ComponentArg'. "
As can be seen in the right hand pane of the attached image, the Angular2
definition file is included in the project.
What is the issue here, and how do I resolve it?
Many thanks in advance,
Theo
IDE: Visual Studio 2015 (Community)
So, I'm attempting to run the '5 Minute Quickstart' angular 2 for
typescript demo, as documented at
https://angular.io/docs/ts/latest/quickstart.html, in Visual Studio and am
getting the following error message:
"Error TS2345 Argument of type '{ selector: string; template: string; }'
is not assignable to parameter of type '_ComponentArg'.
Object literal may only specify known properties, and 'template' does not
exist in type '_ComponentArg'. "
As can be seen in the right hand pane of the attached image, the Angular2
definition file is included in the project.
What is the issue here, and how do I resolve it?
Many thanks in advance,
Theo
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.