Skip to content

Ignore typescript errors in generated file#512

Open
MarkKoester wants to merge 1 commit intokach:masterfrom
MarkKoester:patch-1
Open

Ignore typescript errors in generated file#512
MarkKoester wants to merge 1 commit intokach:masterfrom
MarkKoester:patch-1

Conversation

@MarkKoester
Copy link
Copy Markdown

@MarkKoester MarkKoester commented May 26, 2020

The @ts-ignore flag only suppresses errors on the following line. @ts-nocheck should be used to ignore all errors in the file.

The @ts-ignore flag only suppresses errors on the following line. @ts-nocheck should be used to ignore all errors in the file.
@MarkKoester
Copy link
Copy Markdown
Author

I'm also wondering if it would be a good idea to add

/* eslint-disable */

to generated files. Right now I get tons of eslint errors from the generated code that I have to manually suppress.

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.

1 participant