I can use 'LoadModel' to load my obj and I can render it using DrawModel with a tint.
But I can't figure out how to apply texture/material to it. Of the following functions in the cheatsheet:

Only SetModelMeshMaterial is exposed which I can't do, if I can't load it in the first place:

And the approach used in the raylib example here doesn't work due to type errors:

I don't doubt there is a way but I'd rather not dig into the cryptic bowels of the js/ts wrappings etc. Please provide an example using the API as it stands today.