Functions not honoring API specification?

@_j
if you think the AI is generally confused though

then how this one can coverage of my typescript ?