VictoryArea interpolation type issue
Bugs and Questions
Checklist
-
[x] This is not a
victory-nativespecific issue. (Issues that only appear invictory-nativeshould be opened here) -
[x] I have read through the FAQ and Guides before asking a question
-
[x] I am using the latest version of Victory
-
[x] I've searched open issues to make sure I'm not opening a duplicate issue
The Problem
This is a type issue. VictoryLine and VictoryArea support preset of interpolations as well as a custom implementation of interpolation function. VictoryLine has no issues, but VictoryArea type only states that the preset is supported while the custom implementation indeed also works! (just requires type "hack").
The fix should be as simple as fixing the types file and I would be more than happy to make a PR for this.
Reproduction
Here is the image of the issue

and the "hack" (doesn't necessarily has to be natural)
