How can I register a javascript custom type into Lua?
luyufxckyouall opened this issue · 1 comments
luyufxckyouall commented
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?
ceifa commented
Yes, exactly like that!