I\'m still new to TypeScript, and i\'ve this error, while i want to pass the type to the object it complain only revers to a type, but is being used as value here. here\'s s