Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upTypescript removes function flags #243
Open
Comments
This comment has been minimized.
This comment has been minimized.
I was able to replace the syntax by making the following changes to 'uclass.js':Line 73:
Line 176:
Line 183:
|
This comment has been minimized.
This comment has been minimized.
@Dmerle If you check any side-effect about modification, you could help many people who be suffered about TS by sending "pull request" about that issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typescript doesn't like to emit comments between the '()' and '{}' of a function.
Example:
Emits this:
This is with 'removeComments' set to false in the tsconfig. This issue on the TS github implies they're aware of this but can't/won't do anything about it: microsoft/TypeScript#11046
However, the following is emitted as expected and could perhaps be used as an alternative syntax: