Skip to content

Commit

Permalink
fix(core): IConstruct no longer extends IDependable (#6794)
Browse files Browse the repository at this point in the history
The release of 1.28.0 broke the API of `IConstruct` as it no longer extends `IDependable`. This was not discovered by our API compatibility test and breaks typed languages like Java.

Fixes #6792
  • Loading branch information
Elad Ben-Israel authored Mar 18, 2020
1 parent b51a3b6 commit 19bb16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/core/lib/construct-compat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const CONSTRUCT_SYMBOL = Symbol.for('@aws-cdk/core.Construct');
/**
* Represents a construct.
*/
export interface IConstruct extends constructs.IConstruct {
export interface IConstruct extends constructs.IConstruct, IDependable {
/**
* The construct tree node for this construct.
*/
Expand Down

0 comments on commit 19bb16a

Please sign in to comment.