Hey there,
as the title says, the method 'registerMethod' of the p5 prototype isn't recognized by typescript.
I encountered this issue while running p5 in instance mode. E.g.:
p5.prototype.registerMethod('init', function init(this: p5) {
console.log('registered');
});
Hey there,
as the title says, the method 'registerMethod' of the p5 prototype isn't recognized by typescript.
I encountered this issue while running p5 in instance mode. E.g.: