Skip to content

Conversation

eduardomourar
Copy link
Contributor

@eduardomourar eduardomourar commented Nov 17, 2022

Issue #, if available: aws/aws-sdk-js-v3#4204

Description of changes:

After PR #625, the DOM types have been removed from the default tsconfig.json file (before the value for lib included the DOM). This causes the following error during compilation:

src/models/models_0.ts(1162,67): error TS2304: Cannot find name 'Blob'.

This is change will allow compiling any recent generated Smithy project without modifying the tsconfig (as being done in the AWS SDK JS v3 repo here).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eduardomourar eduardomourar requested a review from a team as a code owner November 17, 2022 14:47
@eduardomourar
Copy link
Contributor Author

Most probably the DOM types can be removed from the tsconfig.es.json file too.

@trivikr
Copy link
Contributor

trivikr commented Nov 17, 2022

@eduardomourar Can you create a new bug report for this issue

From your PR description, I see that the issue exists, but would like to discuss the problem using a minimal repro and compare different solutions.

@cmoher cmoher requested a review from AndrewFossAWS December 14, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants