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
I’m not following this comment. It looks to me that the code can never return color: {color: undefined} because of the colorColor !== undefined check? So the type is
Oh! Sorry, I filed this hastily; I meant that the color property might not be in the returned object, not that it might be present and undefined (color?: string, not color: string | undefined). If that union type seems fine to you, then it’s fine with me. It felt weird that we’re not returning a fixed shape, but I hadn’t thought through what setting color: null would actually do, so, forget it! 😅
Noticed while working on #1385 — this is, I think, the last undefined that autoSpec is returning:
plot/src/marks/auto.js
Lines 195 to 199 in 02731fb
The text was updated successfully, but these errors were encountered: