Skip to content

Add ts-nocheck comment to auto-generated file #1041

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

Jerome1337
Copy link
Contributor

This is useful when the openapi contains unused variables.
Otherwise the TSC type checking crash on auto generated code...

@Jerome1337
Copy link
Contributor Author

I don't understand why tests aren't passing. This seems do be indentation differences between snapshots and expectation.

@smorimoto smorimoto added the enhancement New feature or request label Feb 12, 2025
@smorimoto smorimoto changed the title chore: add ts-nocheck comment Add ts-nocheck comment to auto-generated file Feb 12, 2025
Copy link

changeset-bot bot commented Feb 12, 2025

🦋 Changeset detected

Latest commit: 47381de

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
swagger-typescript-api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@smorimoto smorimoto enabled auto-merge February 12, 2025 12:55
@smorimoto smorimoto disabled auto-merge February 12, 2025 12:55
@smorimoto smorimoto enabled auto-merge February 12, 2025 12:55
@smorimoto smorimoto disabled auto-merge February 12, 2025 12:55
@smorimoto smorimoto merged commit bd12a16 into acacode:main Feb 12, 2025
1 check passed
@github-actions github-actions bot mentioned this pull request Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants