pmndrs / react-postprocessing

📬 postprocessing for react-three-fiber
https://docs.pmnd.rs/react-postprocessing
MIT License
1.1k stars 106 forks source link

fix: correctly export type of ChromaticAberrationEffect #299

Open Johnjackbogart opened 3 days ago

Johnjackbogart commented 3 days ago

Correctly exporting ChromaticAberrationEffect as type

closes issue 298

Johnjackbogart commented 3 days ago

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