We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff63bf commit 87b7b15Copy full SHA for 87b7b15
smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/TypeScriptWriter.java
@@ -189,7 +189,8 @@ TypeScriptWriter writeDocs(Runnable runnable) {
189
*/
190
public TypeScriptWriter writeDocs(String docs) {
191
// Docs can have valid $ characters that shouldn't run through formatters.
192
- writeDocs(() -> write(docs.replace("$", "$$")));
+ // Escapes multi-line comment closings.
193
+ writeDocs(() -> write(docs.replace("$", "$$").replace("*/", "*\\/")));
194
return this;
195
}
196
0 commit comments