You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When decoratorsBeforeExport is set to true it will instrument typescript code with decorators. This should leave the location of the decorator and export in the same order:
@sealed
export class BugReport {
Observed Behavior
Instrumentation moves the export before the decorator:
Is there any progress on this issue ? Its very easily reproducible on any angular project. I would like to upvote this issue. It has been open for quite some time now.
Link to bug demonstration repository
https://github.com/gnzzz/nyc-bug-decorators
Expected Behavior
When
decoratorsBeforeExport
is set totrue
it will instrument typescript code with decorators. This should leave the location of the decorator and export in the same order:Observed Behavior
Instrumentation moves the export before the decorator:
creating invalid typescript code:
Troubleshooting steps
cache: false
in my nyc configEnvironment Information
The text was updated successfully, but these errors were encountered: