Open
Description
Description
I'm reading docs here github docs and I find that function dependency
injection examples does not work and Service decorator does not accept function arg.
Minimal code-snippet showcasing the problem
export const PostRepository = Service(() => ({
getName() {
return 'hello from post repository';
},
}));
Expected behavior
Actual behavior
typedi version
{
"typedi": "^0.10.0"
}