connect('interface-signal', function (testInterface, ptr: Number(gint), ): void);
testInterface
instance of that is emitting the signal
ptr
the code must look up the signal with g_interface_info_find_signal() in order to get this to work.