Skip to content

chore: pin aws-sdk-mock to 5.6.0#18871

Merged
mergify[bot] merged 2 commits intoaws:masterfrom
corymhall:corymhall/ignore-aws-sdk-mock
Feb 8, 2022
Merged

chore: pin aws-sdk-mock to 5.6.0#18871
mergify[bot] merged 2 commits intoaws:masterfrom
corymhall:corymhall/ignore-aws-sdk-mock

Conversation

@corymhall
Copy link
Copy Markdown
Contributor

Version 5.6.1 of aws-sdk-mock introduced new types with the @ts-ignore
annotation. The specific type in question is this one
For some reason our version of tsc is not suppressing the type errors.
I've tested with a newer version of tsc and the errors are suppressed.

I'm not sure if this is the right thing to do here, but currently this
causes our upgrade workflow to fail with the error message

aws-cdk: ../../node_modules/aws-sdk-mock/index.d.ts(60,90): error TS1110: Type expected.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Version 5.6.1 of aws-sdk-mock introduced new types with the `@ts-ignore`
annotation. The specific type in question is [this one](https://github.com/dwyl/aws-sdk-mock/blob/1a9112b81cef3b0c3fac69d8d3bb1b70c692bf3c/index.d.ts#L60)
For some reason our version of `tsc` is not suppressing the type errors.
I've tested with a newer version of `tsc` and the errors are suppressed.

I'm not sure if this is the right thing to do here, but currently this
causes our upgrade workflow to fail with the error message

```
aws-cdk: ../../node_modules/aws-sdk-mock/index.d.ts(60,90): error TS1110: Type expected.
```
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Feb 8, 2022

@corymhall corymhall requested a review from a team February 8, 2022 14:03
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Feb 8, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 8, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit b241ba1 into aws:master Feb 8, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Feb 8, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 747f035
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

moelasmar pushed a commit to moelasmar/aws-cdk that referenced this pull request Feb 15, 2022
Version 5.6.1 of aws-sdk-mock introduced new types with the `@ts-ignore`
annotation. The specific type in question is [this one](https://github.com/dwyl/aws-sdk-mock/blob/1a9112b81cef3b0c3fac69d8d3bb1b70c692bf3c/index.d.ts#L60)
For some reason our version of `tsc` is not suppressing the type errors.
I've tested with a newer version of `tsc` and the errors are suppressed.

I'm not sure if this is the right thing to do here, but currently this
causes our upgrade workflow to fail with the error message

```
aws-cdk: ../../node_modules/aws-sdk-mock/index.d.ts(60,90): error TS1110: Type expected.
```


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
Version 5.6.1 of aws-sdk-mock introduced new types with the `@ts-ignore`
annotation. The specific type in question is [this one](https://github.com/dwyl/aws-sdk-mock/blob/1a9112b81cef3b0c3fac69d8d3bb1b70c692bf3c/index.d.ts#L60)
For some reason our version of `tsc` is not suppressing the type errors.
I've tested with a newer version of `tsc` and the errors are suppressed.

I'm not sure if this is the right thing to do here, but currently this
causes our upgrade workflow to fail with the error message

```
aws-cdk: ../../node_modules/aws-sdk-mock/index.d.ts(60,90): error TS1110: Type expected.
```


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants