ERROR in src/app/app.module.ts(7,36): error TS2306: File ‘…/src/app/components/scheduler.component.ts’ is not a module.
ERROR in src/app/components/scheduler.component.ts(6,17): error TS2306: File '../node_modules/@types/dhtmlxscheduler/index.d.ts' is not a module.
src/app/components/scheduler.component.ts(6,17): error TS6137: Cannot import type declaration files. Consider importing 'dhtmlxscheduler' instead of '@types/dhtmlxscheduler'.
Angular 8.2
TypeScript 3.5.3
I implemented the scheduler in an Angular 6 application following the tutorial at https://dhtmlx.com/blog/angular-dhtmlxscheduler-tutorial/ and I am facing 2 major issues:
The import statement import {} from “@types/dhtmlxscheduler”; returns an error saying:
File ‘……/node_modules/@types/dhtmlxscheduler/index.d.ts’ is not a module.
I commented this part and the scheduler is rendered, however not sure whether this will impact some functionality which I have not implemented yet.
The ng…