[Playground](https://typescripttolua.github.io/play.html#src=let%20Inner%20%3D%201%3B%0A%0Aexport%20namespace%20Outer%20%7B%0A%20%20%20%20export%20function%20bar()%20%7B%0A%20%20%20%20%20%20%20%20return%20Inner.foo%3B%0A%20%20%20%20%7D%0A%20%20%20%20namespace%20Inner%20%7B%0A%20%20%20%20%20%20%20%20export%20let%20foo%20%3D%20%22foo%22%3B%0A%20%20%20%20%7D%0A%7D%0A%0Aconsole.log(Inner)%3B%0A) `local Inner` is hoisted to the file level scope, but is expected to be hoisted to namespace scope.
Playground
local Inneris hoisted to the file level scope, but is expected to be hoisted to namespace scope.