NativeCallback type in @types/frida-gum is outdated (and maybe some other classes too)
Meigyoku-Thmn opened this issue · 1 comments
Meigyoku-Thmn commented
In the docs, the NativeCallback class has the constructor like this:
new NativeCallback(func, returnType, argTypes[, abi])
But its type definition in @types/frida-gum is:
declare class NativeCallback extends NativePointer {
constructor(func: NativeCallbackImplementation, retType: NativeType, argTypes: NativeType[]);
}
Can you update the type definition for NativeCallback?