I don’t know how to fill in the third parameter of uxp resizeCanvas

I want to press ExtendScript to expand the canvas size to the top, but I can’t achieve the desired result through UXP’s DOM.

ExtendScript:app.activeDocument.resizeCanvas(activeDocument.width,activeDocument.height+225,AnchorPosition.BOTTOMLEFT)
UXP: await doc.resizeCanvas(doc.width,doc.height+225,{AnchorPosition:"[top/middle/bottom]-[left/center/right]"})

Based on the docs, I believe it’s just a string.

doc.resizeCanvas(200,200,"top-right");