Skip to content

Does mlua support luau's type annotations? #255

Answered by khvzak
jqnatividad asked this question in Q&A
Discussion options

You must be logged in to vote

type annotations are supported (but luau compiler simply ignores it). I think simiar is in python.
To check the source code with type anotations you need to run an additional tool called luau-analyzer. It's shipped with luau distribution

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jqnatividad
Comment options

Answer selected by jqnatividad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants