Closed dhkatz closed 2 years ago
Hello @dhkatz,
I think that's because I didn't want to allow this cuz of performance, but I think I know how to do it now. With @reflect
there should be no perf issue.
Thank you for taking a look into this 🙂
This is probably a breaking change so I understand your hesitance 😅
Done.
Try new versions tst-reflect@0.7.5
& tst-reflect-transformer@0.9.10
.
Thank you very much 😀
@all-contributors add @dhkatz for bug report.
@Hookyns
I've put up a pull request to add @dhkatz! :tada:
Is there a way to somehow hint that a type parameter should be forwarded because right now it doesn't seem to work?
This also seems to print a warning where the decorator
foo
is used:If I call
@bar('test', 'description')
directly instead it works fine and I don't get the warningI looked at the generated JS and the issue seems to be that types aren't forwarded when expected:
I tried looking through examples that were in the repo but I can't really find anything. This seems a bit unintuitive right now without forwarding