Skip to content

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

Closed
@harry-uglow

Description

@harry-uglow

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions