You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is intentional, but after updating to the latest quill and quill-delta, stuff like quill.setContents(new Delta()) no longer compiles unless I add an <any> cast to the Delta object.
Argument of type 'Delta' is not assignable to parameter of type 'DeltaStatic'.
Types of property 'reduce' are incompatible.
Type '<T>(predicate: (accum: T, curr: Op, index: number) => T, initialValue: T) => T' is not assignable to type '<T>(predicate: (acc: T, curr: DeltaOperation, idx: number, arr: DeltaOperation[]) => T, initial: T) => T'.
Types of parameters 'predicate' and 'predicate' are incompatible.
The text was updated successfully, but these errors were encountered:
Quill does not officially maintain Typescript type definitions. Unofficial definitions were added including DeltaStatic but now that Delta itself is in Typescript there is no need for DeltaStatic and such definitions should be updated. I would suggest notifying whoever maintains these definitions.
Not sure if this is intentional, but after updating to the latest
quill
andquill-delta
, stuff likequill.setContents(new Delta())
no longer compiles unless I add an<any>
cast to theDelta
object.The text was updated successfully, but these errors were encountered: