No - seems like that code was autogenerated incorrectly so that might be a bug - someone like @jwunderl or @richard may know. (Sorry for ping) My brain is currently too small to figure out such a problem. And I didn’t write it so I don’t really understand the internals
@richard Have you ever seen it drop a random return in images.g.ts before? I noticed that the tile was getting called as an image in one spot, deleting the asset in the assets view fixed it here. (also this empty text entry showing up in images.g.jres is weird , which is probably the cause but unclear how that got there.)
yeah I’m not sure what happened here… definitely a makecode bug. i haven’t seen the return thing before but it might be related to the empty string name. i did open a bug related to that the other day:
(also @UnsignedArduino no need to apologize! I don’t mind pings, especially when there might be bugs afoot)
To confirm these are both written in typescript / come after using assets.image` ` ? I’m assuming not using the assets tab?
This looks fixed for now but it’ll probably happen again, the fix was going to assets and deleting the empty first image: https://makecode.com/_8CVVwRbV18pm