From 2cb75b3987dcc96923b32908a9468b35c5e550cc Mon Sep 17 00:00:00 2001 From: Steven Yuan Date: Fri, 15 Sep 2023 14:38:04 -0700 Subject: [PATCH] Make `writeDocs()` with `Runnable` public --- .../amazon/smithy/typescript/codegen/TypeScriptWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/TypeScriptWriter.java b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/TypeScriptWriter.java index a727ae3a98d..db7822f1619 100644 --- a/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/TypeScriptWriter.java +++ b/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/TypeScriptWriter.java @@ -147,7 +147,7 @@ public TypeScriptWriter addRelativeImport(String name, String as, Path from) { * @param runnable Runnable that handles actually writing docs with the writer. * @return Returns the writer. */ - TypeScriptWriter writeDocs(Runnable runnable) { + public TypeScriptWriter writeDocs(Runnable runnable) { pushState("docs"); write("/**"); setNewlinePrefix(" * ");