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 */
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 */