添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
豪情万千的橙子  ·  Mac ...·  19 小时前    · 
英俊的野马  ·  Installing ...·  9 小时前    · 
犯傻的企鹅  ·  电脑软件教程-系统之家·  8 小时前    · 
淡定的野马  ·  Android中约束布局(Constrain ...·  8 小时前    · 
痴情的篮球  ·  spring boot ...·  5 月前    · 
大力的手链  ·  Intermittent ...·  8 月前    · 

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…