wasmoon icon indicating copy to clipboard operation
wasmoon copied to clipboard

How can I register a javascript custom type into Lua?

Open luyufxckyouall opened this issue 2 years ago • 0 comments

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?

luyufxckyouall avatar Mar 06 '24 11:03 luyufxckyouall