Property 'bar' is missing in type 'State1' but required in type 'State2'.
This is right on the edge of my type theory literacy.
I have two State records. State2 is just State1 with an extra prop (bar). I have a third Form type which is generic with State and has some extra props. I have a function that takes Form<State1>, and I can't pass Form<State2> to it.
I think this is because one of the derived Form props has a Map and it affects the variance of the function, but I'm not 100% clear on how that happens. I got a nice, minimal playground, though.