So I am having a problem with the overworld extension in my project and the error is:
pxt_modules/overworld/tilemap.ts(7,11): error TS2433: A namespace declaration cannot be in a different file from a class or function with which it is merged.
And I saw an example of the extension and it was in v.1.11.0 and my is in v.1.1.7 maybe I need to update the extension but I don’t know how.
Here is the project:
In case you want to play it it’s B to open the chest and arrows to move
Please help me 
i updated it but nothing changed, not even the version. I would ask @richard since he made the extension. I think the only reason that happens is when 2 tilemap namespaces are made, but i only see the definition in overworld. I also deleted every extension but overworld, the error still existed. I deleted overworld and it was fine, but for some reason tilemap still existed and i literally looked through every ts file, and was annoyed when the only file that shouldve had it was tilemap.ts in game, but that just had namespace tiles
did you perhaps mean to add riknoll/arcade-overworld instead of riknoll/overworld? riknoll/overworld is a very old extension that is deprecated
here’s your project with those extensions swapped:
Thank you richard can you please also put the tilemap extension.

just add microsoft/arcade-tile-util
that’s the new version of that extension
1 Like