Skip to content

⭐ OOP compilation into function-based code #98

@Toliak

Description

@Toliak

Hmmm what if we can do OOP on TypeScript and receive pure code on Lua?)))))
Example:
TS code:

const [x,y,z] = player.getPosition();

Lua code after compilation:

local x,y,z = getPlayerPosition(player)

I cannot imagine now how to implement this, but, anyway, what do you think about this idea?

Suggested by @Dezash

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions