- Progressive Web App with Express + JSON backend - PIN-based auth, multi-device sync - Invoice + Statement PDF generation (branded, Grandstander + Nunito) - Mobile + Desktop responsive layouts - n8n backup integration - Custom logo upload - Settings for business info, fees, banking - Bulk invoice generation - Web Share API integration
11 lines
313 B
JavaScript
11 lines
313 B
JavaScript
'use strict';
|
|
|
|
var $TypeError = require('es-errors/type');
|
|
|
|
/** @type {import('./RequireObjectCoercible')} */
|
|
module.exports = function RequireObjectCoercible(value) {
|
|
if (value == null) {
|
|
throw new $TypeError((arguments.length > 0 && arguments[1]) || ('Cannot call method on ' + value));
|
|
}
|
|
return value;
|
|
};
|