Open Johnjackbogart opened 3 days ago
I opened up a PR here:
https://github.com/pmndrs/react-postprocessing/pull/299
Not sure if this is the right way to do it tbh, curious if this solution makes sense.
To me, it doesn't make sense to export typeof ChromaticAberrationEffect
, that just returns function
I'd expect you to want to export the full type, so this makes sense to me
Hi,
I have the below code:
I'm trying to animate the chromatic aberration offset.
However, I get the following error:
I believe this is because the type is exported as
typeof ChromaticAberrationEffect
inreact-three/postprocessing
instead of just
ChromaticAberrationEffect
When I changed this in my node modules folder the issue is resolved