When specifying scale.interval, scale.transform is automatically set. (See related discussion 2450 with an example).
In order to disable the implicit transform, we need to set it to null. However, the corresponding TypeScript definition specifies:
|
transform?: (t: any) => any; |
So null is not assignable here.
Related: #2423
When specifying scale.interval, scale.transform is automatically set. (See related discussion 2450 with an example).
In order to disable the implicit transform, we need to set it to
null. However, the corresponding TypeScript definition specifies:plot/src/scales.d.ts
Line 440 in 356f579
So
nullis not assignable here.Related: #2423