No setTextContent function for DivBlock

Seems that the second line throws an error (newDiv.setTextContent is not a function):

const newDiv = await selectedElement.before(webflow.ElementPresets.DivBlock)

await newDiv.setTextContent(‘Hello World’)

Any idea why?

Reference - from Designer Api v2: The Webflow Object (Designer API v2) — Webflow API Documentation