@magicbell/core
Version:
Official MagicBell API wrapper
10 lines (9 loc) • 306 B
TypeScript
/**
* Decorator factory to camelize the keys of the arguments passed to the
* function decorated with this.
*
* @example
* @camelize()
* set(json = {}) { Object.assign(this, json) }
*/
export default function camelize(): (target: any, propertyKey: string, descriptor?: PropertyDescriptor) => void;