When I set following function,
const getIrohaTransaction:string = () =>{
return "test";
}
following errors are alerted.
Type '() => string' is not assignable to type 'string'.
I still couldn't understand the root cause of this error. What is the wrong point of this?If someone has opinion,please let me know. thanks
getIrohaTransactionneeds to change entirely, or you need to move the: stringto the return position.