Closed movedaccount-droid closed 1 year ago
This is a TS "limitation", please use ts-ignore
to suppress the complaint:
// @ts-ignore
ctor.implementation = function (isPreviewEnabled: boolean) {
this.method(".ctor").invoke();
};
More info here
that was it, ty ty! very useful tool so far, thanks for workin on it
minimal example:
results in:
seems to happen with any data type including il2cpp.{x} types, will error with "Type 'number' is not assignable to type '{x}'". using a number switches to "Type 'boolean' is not assignable to type 'number'". assumin this is some kind of external typescript/frida issue since the minimal example reads like other snippets here, but where is best to start in fixing that?