If you use an old version of DayPilot, I recommend upgrading to the latest release.
The "areas" property directly in Cell is a legacy location which is not part of the TypeScript definitions but it's still supported - that shouldn't cause the problem.