Closed jeremycurda closed 2 years ago
const Ctor = Class.method(".ctor"); Ctor.implementation = function (param1: number, param2: number): ??? { const instance = Class.alloc(); instance.method(".ctor").invoke(param1, param2); console.log(param1, param2); return ???; };
I'm not sure if this is possible or if I'm missing something really obvious.
Alright nevermind I figured it out by re-reading issue #25
Yup, constructors do not return any value
I'm not sure if this is possible or if I'm missing something really obvious.