Quite A newbie when it comes to error handling.
I\'m getting a (Type \'undefined\' is not assignable to type \'string\')error in this code
export cons