-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): fix some return types (#3192)
1. `@aws-cdk/core.Stack.availabilityZones`: The type was incorrectly inferred to `any` by the typescript compiler, however the actual type `string[]`. 2. `@aws-cdk/aws-codebuild.Project.addSecondaryArtifact(IArtifacts)`: The type was declared as `any`, however the function never returns anything - the effective type is `void`. 3. Renamed `@aws-cdk/aws-ec2.toRuleJSON` to `toRuleJson` for consistency.
- Loading branch information
1 parent
3a9fa64
commit b5997c3
Showing
7 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
packages/@aws-cdk/aws-codebuild/allowed-breaking-changes-0.36.2.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
change-return-type:@aws-cdk/aws-codebuild.PipelineProject.addSecondaryArtifact | ||
change-return-type:@aws-cdk/aws-codebuild.Project.addSecondaryArtifact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
removed:@aws-cdk/aws-ec2.Port.toRuleJSON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters