In javascript I can do something like this:
function hello() { console.log('Hello')}
hello.rating = "super useful"
So this hello function is now "special", since it has this additional property rating
How would one declare such a function in Typescript?
I know I could use typeof, but this is not what I want to use.
Here is a playground: