Skip to content

Commit

Permalink
fix(elbv2): explicitly implement IApplicationTargetGroup
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
Rico Huijbers committed Feb 20, 2019
1 parent 5dec01a commit 2f43934
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 2f43934

Please sign in to comment.