Good day. I\'m new to Type Script, using VSCode.
Getting following errors:
error TS2322: Type \'() => string\' is not assignable to type
In my case, strangely enough, I was missing the import of the class it was complaining about and my IDE didn't detect it.