Skip to content

Commit 4ff6b54

Browse files
committed
SmithyIntegrations are available from CodegenContext
1 parent 7f80d53 commit 4ff6b54

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/TypeScriptCodegenContext.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
* Holds context related to code generation.
3232
*/
3333
@SmithyUnstableApi
34-
public final class TypeScriptCodegenContext implements CodegenContext<TypeScriptSettings, TypeScriptWriter> {
34+
public final class TypeScriptCodegenContext
35+
implements CodegenContext<TypeScriptSettings, TypeScriptWriter, TypeScriptIntegration> {
3536

3637
private final Model model;
3738
private final TypeScriptSettings settings;
@@ -80,7 +81,7 @@ public TypeScriptDelegator writerDelegator() {
8081
return writerDelegator;
8182
}
8283

83-
// TODO: should this move to CodegenContext base class with new generic parameter?
84+
@Override
8485
public List<TypeScriptIntegration> integrations() {
8586
return integrations;
8687
}

0 commit comments

Comments
 (0)