Cannot use unrealbloom effect in React-three-fiber/Typescript

Hello, @here!
In my 3d web app, I use React-three-fiber and Typescript. Currently, I’m going to implement unrealBloom effect using Effect composer. The above screenshot is what I’ve done so far.
But it occurs in typescript issues now, so I cannot use this.
Please help me to solve this problem.
Thank you!

its attach, not attachArray, there’s also a shortcut for the composer in drei that takes care of the boilerplate

btw, pmndrs/postprocessing is the better effect composer, could make sense to switch to that one. you use it in a similar way and there are also abstractions that make it easy. this is how bloom looks in pp Diamond ring - CodeSandbox

Thank you so much for your reply! I’ve fixed this problem using @react-three/post-processing - EffectComposer. Thank you again for your help! I’ve checked that the most of codesandbox @react-three exampled are made by you! :+1: You are amazing! Thank you.