rill
rill copied to clipboard
fix type errors in GraphicContext
fix type errors in GraphicContext. Untangles that mess a bit by:
- cleaning up
cascadingContextStore. It's only called in one place, so it doesn't need generic params and a static argument can be pushed into the function - making the the default overrides more explicit rather than spreading
DEFAULTandpruneProps(...)objects on top of each other, which leads to ambiguous types.