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
* previous versions of d3.HierarchyNode did not have a type definition for
x and y at all.
* we added a type definition for the type and defined x and y as
`number`. This worked because the new and old type definitions were
compatible.
* type library got an update ans also added the type for x and y, but
they added `number | undefined` as type
* typescript now found two different type definitions for the same
attribute, and threw an error:
`TS2687: All declarations of 'x' must have identical modifiers.`
We now declare a new local type definition and cast the official
d3.HierarchyNode to our extended, internal one at some critical places.
CMK-17220
Change-Id: Ifd569a87d8f569a755e5373b2d29460ee75e9090
0 commit comments