The best way to use Lia is using Typescript - https://typescripttolua.github.io/
We have huge Lia codebase for game client and game server shared code all written in typescript. Our developers only see lua if something does not work and it’s not often.