Open mrredo opened 2 months ago
Make init function a seperate function in block.ts and if mutators have placeholders or thing like that pass the thing to mutators and mutators init function will make the block. function init() {} Block[block] = mutator? ()=>{} : init
Make init function a seperate function in block.ts and if mutators have placeholders or thing like that pass the thing to mutators and mutators init function will make the block. function init() {} Block[block] = mutator? ()=>{} : init