Tracking unresolved part of https://github.com/TypeScriptToLua/TypeScriptToLua/issues/121#issuecomment-396013177