🐛 fix(utils.ts): set 'type' property to an empty string instead of undefined to avoid potential issues