ScrollOptions
typings problem for thin bundle
#7385
Labels
api change
API change
forum
Issues from forum
large-account
Reported by large customer
OEM
OEM customer
premium
resolved
Fixed but not yet released (available in the nightly builds)
typescript
Milestone
Forum post
Basically as the title says - when using the scrollToDate in scheduler, the option type is defined as ScrollOptions. It should probably be ScrollIntoViewOptions.
TypeScript started to complain about this as we are migrating from using the full bundle to the new thin npm bundles as shipped with 5.6.0-alpha-1.
I investigated it a little deeper, and I think the issue is that the scheduler.d.ts in scheduler-thin does not import ScrollOptions from core-thin, but is rather relying on a TypeScript global type called ScrollOptions. If you make sure to add ScrollOptions from core-thin among your imported types, it should behave correctly.
The text was updated successfully, but these errors were encountered: