Hi,
Have you planned to release typings for Scheduler?
I'm working on an Angular project, some intellisense for Typescript would come in handy : )
Thanks!
Support Forum
Hello,
There is a very minor typings file in the angular demo, but it by no means cover it entirely. We accept feature requests and will try to fix those in high demand first. So anyone who wants typings, please leave a comment in this thread
Best regards,
Johan Isaksson
There is a very minor typings file in the angular demo, but it by no means cover it entirely. We accept feature requests and will try to fix those in high demand first. So anyone who wants typings, please leave a comment in this thread
Best regards,
Johan Isaksson
Best regards,
Johan Isaksson
Johan Isaksson
My vote for more typings support
I'd imagine there could be some difficulty in getting an ideal solution for this though, since the available properties and methods vary according to activated features.
For the complex objects such as stores, I've found if I import the relevant objects in my main import:
I can then make typed getters and setters around important scheduler properties and interact with the getters/setters instead, which at least means I can get autocomplete and method signature validation in the places where it helps me the most.
e.g.
I'm using Webstorm, but I'm not sure whether it will give auto-complete in other IDEs.
I'd imagine there could be some difficulty in getting an ideal solution for this though, since the available properties and methods vary according to activated features.
For the complex objects such as stores, I've found if I import the relevant objects in my main import:
import {
Scheduler,
AssignmentStore
} from 'scheduler';
e.g.
get assignmentStore(): AssignmentStore {
return this.scheduler.assignmentStore;
}
set assignmentStore(value: AssignmentStore) {
this.scheduler.assignmentStore = value;
}