Typescript Property 'pull' does not exist on type 'ObjectId[ ]'

moongose
typescript
I want to remove from an Array list and this is the error I am getting when I tried to use the
PULL
method, please how do i resolve this error ?
Screenshot_2022-10-26_231953.png
Was this page helpful?