Skip to content

Commit

Permalink
fix(elbv2): explicitly implement IApplicationTargetGroup (#1806)
Browse files Browse the repository at this point in the history
Fix usage of application and network target groups in languages
without structural typing, such as Java and C#.

Fixes #1799.
  • Loading branch information
rix0rrr authored Feb 22, 2019
1 parent 9c0cf8d commit 828a2d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface ApplicationTargetGroupProps extends BaseTargetGroupProps {
/**
* Define an Application Target Group
*/
export class ApplicationTargetGroup extends TargetGroupBase {
export class ApplicationTargetGroup extends TargetGroupBase implements IApplicationTargetGroup {
/**
* Import an existing target group
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface NetworkTargetGroupProps extends BaseTargetGroupProps {
/**
* Define a Network Target Group
*/
export class NetworkTargetGroup extends TargetGroupBase {
export class NetworkTargetGroup extends TargetGroupBase implements INetworkTargetGroup {
/**
* Import an existing listener
*/
Expand Down

0 comments on commit 828a2d7

Please sign in to comment.