BlueBird - Object Orientate Promisification with types
const result = await Promisify(method)const promise = Promisify(method);
const results = await promise(param1, param2, param3, param3);Will ensure that the method key exists on the object.
const result = await Promisify(object, 'method');const promise = Promisify(object, 'method');
const results = await promise(param1, param2, param3, param3);Requires spesifying both Promise Return type and callback method type.
const promise = Promisify<{results : ''},(() => void)>(method);const promise = PromisifyReturn(...);
let returnType = {}
promise(....,returnType);
console.log(returnType['executeResult']);