wasmoon
wasmoon copied to clipboard
How can I register a javascript custom type into Lua?
For example: export default class MyClass{ public static data:string = "hello"; }
Then how can I use "MyClass" type in Lua? Can Just like js,: print(MyClass.data)--log hello?