You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the generated typescript-fetch client i allways get warnings in my console telling
me I have unused vars in my generated clients. Therefore i had a look and it is true. There are unused vars. But there is also a //eslint-disable comment at the top of the file. The Problem is that eslint requrires a different format for disables.
I tested it by just replacing //eslint-disable with /* eslint-disable */ and voilà the warning is gone.
I would recommend to change //eslint-disable into /* eslint-disable */
The text was updated successfully, but these errors were encountered:
* FIXES#4539 replace line comment with block comment
eslint requires you to use a block comment for ignoring whole files.
* changed comment style in other templates
* generated samples
* generated openapi3 samples
* Revert "generated openapi3 samples"
This reverts commit 98af3df
* generated missing samples
When using the generated typescript-fetch client i allways get warnings in my console telling
me I have unused vars in my generated clients. Therefore i had a look and it is true. There are unused vars. But there is also a //eslint-disable comment at the top of the file. The Problem is that eslint requrires a different format for disables.
I tested it by just replacing //eslint-disable with /* eslint-disable */ and voilà the warning is gone.
I would recommend to change //eslint-disable into /* eslint-disable */
The text was updated successfully, but these errors were encountered: