Skip to content

Support Angular6 - Cannot redeclare block-scoped variable 'ngDevMode' #4

@ijavid

Description

@ijavid

When using library in a Angular6 project the compilation fails on the following error:
ERROR in node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'.

Root cause:
The Angular npm packages are read twice.

  • First the projects Angular 6 packages
  • Second angular-inline-editor's dependency (5.2.11)

Please release a new version which supports Angular6

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