Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng serve Compile Errors in angular-calendar/dist/ #228

Closed
harry-uglow opened this issue Jun 1, 2017 · 1 comment
Closed

ng serve Compile Errors in angular-calendar/dist/ #228

harry-uglow opened this issue Jun 1, 2017 · 1 comment

Comments

@harry-uglow
Copy link

Bug description / Feature request:

Having followed README and used an in the template for a pre-existing component, when running ng serve we see a lot of similar errors, of the form:

`ERROR in /Users/username/project/frontend/node_modules/calendar-utils/dist/calendarUtils.d.ts (20,41): ‘,’ expected.

ERROR in /Users/username/project/frontend/node_modules/calendar-utils/dist/calendarUtils.d.ts (17,16): Generic type ‘CalendarEvent<MetaType, any>’ requires 2 type argument(s).

ERROR in /Users/username/project/frontend/node_modules/calendar-utils/dist/calendarUtils.d.ts (20,43): Type parameter name cannot be ‘any’`

We have no idea why this is happening, can anyone help? We're pretty new to Angular and are struggling to work out what could cause this. It's behaving like your code doesn't compile but of course it should.

For bugs only, a link to minimally working plunker that reproduces the issue (you can fork a starter from any of the demos)

Versions

Angular: v4.2.0

Calendar library: angular-calendar v0.17.0

Browser name and version: Chrome v58.0.3029.110 (64-bit) (not that we get this far).

@etwillbefine
Copy link
Collaborator

Duplicate of #221
Please see this issue for more details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants