We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When i try to use schedular in typescript (Angular 8).
I use these
import "dhtmlx-scheduler"; import {} from "@types/dhtmlxscheduler";
First import works fine. But second line gives me an error.
error TS6137: Cannot import type declaration files. Consider importing 'dhtmlxscheduler' instead of '@types/dhtmlxscheduler'.
What am i missing here? I have followed this guide.
The text was updated successfully, but these errors were encountered:
@akvaliya Any things you found to resolve it.. Please help i am getting same error
Sorry, something went wrong.
Hello, This guide is a little bit outdated and we currently working on the update it, unfortunately, there is no ETA.
import {} from "@types/dhtmlxscheduler";
Previously, our types for the scheduler were stored separately and now they are included in the scheduler package and you don't need to import them. This is what the import of the scheduler looks like now: import 'dhtmlx-scheduler'; declare let scheduler: any; There is the updated demo which uses the scheduler with angular 11: https://disq.us/url?url=https%3A%2F%2Ffiles.dhtmlx.com%2F30d%2Fd32c54dba33fee8a700c8031fa2017ae%2Fangular11%2Bgantt__GPL%2Bscheduler_GPL.zip%3A0gNemJUIoy85XJd-2UuSF_T565w&cuid=6004032
import 'dhtmlx-scheduler'; declare let scheduler: any;
Steps to run: Download the archive; Unarchive it into some folder; Run yarn install command; Run yarn start command;
yarn install
yarn start
This demo contains Gantt and Scheduler components, you can find these components in the "src/app/tools" folder.
No branches or pull requests
When i try to use schedular in typescript (Angular 8).
I use these
First import works fine. But second line gives me an error.
error TS6137: Cannot import type declaration files. Consider importing 'dhtmlxscheduler' instead of '@types/dhtmlxscheduler'.
What am i missing here? I have followed this guide.
The text was updated successfully, but these errors were encountered: