Blog
TypeScript Support
FullCalendar and Scheduler now officially support TypeScript! TypeScript is a popular type-aware superset of the JavaScript language that is great for larger projects.
In prior versions of FullCalendar, you needed DefinitelyTyped for the definition files, but as of FullCalendar version 3.8.2 and Scheduler version 1.9.2, the definition files are bundled with the libraries when you npm-install them. (Actually, they were bundled since 3.8.0, but some kinks needed to be worked out).
- How to use TypeScript with FullCalendar »
- Example repo with FullCalendar »
- Example repo with Scheduler »
By the way, the FullCalendar/Scheduler source code itself is written in TypeScript! Moving to TypeScript was a lot of work, but ultimately a great idea as it makes refactoring much much easier. When the source code gets compiled, it automatically generates the necessary TypeScript definitions files, so no need to maintain separate .d.ts files internally.
Adding TypeScript support is part of FullCalendar's initiative to stay up-to-date with the coolest new JS technologies. The most obvious next project is to remove jQuery as a dependency so that FullCalendar plays nicer with React and Vue. This project is already in the works.